abdullahtarawneh.com/layouts/partials/page/series-nav.html
a 2247ee2776 June 2024 redesign (#1)
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already.

Reviewed-on: #1
2024-06-03 23:22:36 +00:00

21 lines
465 B
HTML

{{ with .GetTerms "series" }}
<h2>More in the same series:</h2>
{{ range . }}
<nav>
<h3>{{ .Title }}</h3>
<ol>
{{ range .Pages.ByDate }}
{{ if eq .File.UniqueID $.File.UniqueID }}
<li class="active">
<a href="{{ .Permalink }}" aria-current="page">{{ .Title }}</a>
</li>
{{ else }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
</ol>
</nav>
{{ end }}
{{ end }}