2023-11-12 00:49:01 +00:00
|
|
|
{{ define "main" }}
|
2024-10-12 20:53:03 +00:00
|
|
|
<main class="release-list">
|
|
|
|
<div class="doc">
|
|
|
|
<header>
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
</header>
|
|
|
|
<section class="copy">{{ .Content }}</section>
|
2023-11-12 00:49:01 +00:00
|
|
|
|
2024-10-12 20:53:03 +00:00
|
|
|
{{ range .Pages }}
|
|
|
|
<article class="release-item">
|
|
|
|
<h2>
|
|
|
|
<time datetime="{{ .Date | time.Format " 2006-01-02" }}">{{ .Date | time.Format "2006-01-02" }}</time>
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
|
|
{{ if .Params.prerelease }}
|
|
|
|
<span class="prerelease">prerelease</span>
|
|
|
|
{{ end }}
|
|
|
|
</h2>
|
|
|
|
{{ if not .Params.prerelease }}
|
|
|
|
{{ if .Fragments.Identifiers.Contains "release-notes" }}
|
|
|
|
<ul class="recap">
|
|
|
|
{{ range (index .Fragments.HeadingsMap "release-notes").Headings }}
|
|
|
|
<li>{{ .Title }}</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2023-11-12 00:49:01 +00:00
|
|
|
{{ end }}
|
2024-10-12 20:53:03 +00:00
|
|
|
{{ end }}
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|