Skip to content

Commit

Permalink
Status page: drop release details (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Nov 11, 2021
1 parent b7df6f8 commit 0fac146
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
28 changes: 14 additions & 14 deletions content/en/status/_index.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
---
title: Status
menu:
main:
weight: 30
main: {weight: 30}
aliases: [/project-status, /releases]
---

<a class="td-offset-anchor"></a>
<section class="row td-box td-box--1 position-relative td-box--gradient td-box--height-auto">
<div class="container text-center td-arrow-down">
<h1>OpenTelemetry Tracing Specification now 1.0!</h1>
<span class="h4 mb-0">
<p>Our goal is to provide a generally available, production quality
<p class="h4 mb-0">
Our goal is to provide a generally available, production quality
release for the tracing data source across most OpenTelemetry components
in the first half of 2021. Several components have already reached this
milestone! We expect metrics to reach the same status in the second half
of 2021 and are targeting logs in 2022.</p>
</span>
of 2021 and are targeting logs in 2022.
</p>
</div>
</section>

Expand Down Expand Up @@ -107,11 +105,13 @@ An effort to expand the availability and quality of OpenTelemetry instrumentatio

{{% /blocks/section %}}

<section class="row td-box">
<div class="col">
<div class="row section">
<h2>Latest Releases</h2>
{{< release_notes >}}
</div>
</div>
<section class="row td-box pt-0">
<div class="col">
<div class="row section">

## Latest Releases
{{% release_notes %}}

</div>
</div>
</section>
33 changes: 16 additions & 17 deletions layouts/shortcodes/release_notes.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{{ $data := "" }}
{{ if site.Data.progress_generated }}
{{ $data = site.Data.progress_generated }}
{{ else }}
{{ $data = site.Data.progress_source }}
{{ end }}
{{ $progressData := $data.data }}
{{ $data := "" -}}
{{ if site.Data.progress_generated -}}
{{ $data = site.Data.progress_generated -}}
{{ else -}}
{{ $data = site.Data.progress_source -}}
{{ end -}}
{{ $progressData := $data.data -}}

<br/>
{{- range $progressData }}
<h3 class="title is-3">{{ .label }}</h3>
{{ if ne .releaseName "n/a" }}
<h4 class="subtitle is-5"><a href="{{ .releaseUrl }}">{{ .releaseName }}</a></h4>
<pre style="white-space: pre-wrap; max-width: 100%">{{ .releaseDescription }}</pre>
{{ else }}
<p>No release information available from GitHub.</p>
{{ end }}
{{ end }}
{{ range $progressData -}}

- **{{ .label }}**:
{{ if ne .releaseName "n/a" -}}
<a href="{{ .releaseUrl }}" target="_blank" rel="noopener">{{ .releaseName }}</a>
{{- else -}}
No release information available from GitHub.
{{- end }}
{{ end -}}

0 comments on commit 0fac146

Please sign in to comment.