a
2247ee2776
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already. Reviewed-on: #1
21 lines
No EOL
465 B
HTML
21 lines
No EOL
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 }} |