1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-21 21:22:21 +00:00
strimertul-website/layouts/releases/list.html
Ash Keel 4acd54dd97
All checks were successful
Deploy to Artifacts / deploy (push) Successful in 7s
push beta build
2024-10-12 22:53:03 +02:00

31 lines
No EOL
876 B
HTML

{{ define "main" }}
<main class="release-list">
<div class="doc">
<header>
<h1>{{ .Title }}</h1>
</header>
<section class="copy">{{ .Content }}</section>
{{ 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>
{{ end }}
{{ end }}
</article>
{{ end }}
</div>
</main>
{{ end }}