2024-06-19 22:17:43 -07:00
|
|
|
{{- $page := . -}}
|
2024-06-19 21:56:00 -07:00
|
|
|
{{ $term := index (.GetTerms "series") 0 }}
|
|
|
|
{{ with $term }}
|
|
|
|
{{- /* No idea why the 'Reverse' is needed? */ -}}
|
|
|
|
{{ $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse }}
|
|
|
|
<nav id="SeriesNavigation" class="container">
|
2024-06-19 22:17:43 -07:00
|
|
|
{{ with $pages.Prev $page }}
|
2024-06-19 21:56:00 -07:00
|
|
|
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
|
|
|
{{ end }}
|
2024-06-19 22:17:43 -07:00
|
|
|
{{ with $pages.Next $page }}
|
2024-06-19 21:56:00 -07:00
|
|
|
{{ partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) }}
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
{{ end }}
|