bobatheme/layouts/series/term.html

35 lines
889 B
HTML
Raw Normal View History

2021-11-21 19:43:56 -06:00
{{ define "main" }}
<h1>
{{ partial "icon.html" "files" }}
{{ .Title | markdownify }}
{{ partial "rss-link.html" . }}
</h1>
2021-11-23 13:58:48 -06:00
{{ partial "post-metadata/series.html" . }}
2022-05-06 19:44:27 -05:00
{{ with .Content }}
{{ . }}
{{ end }}
2021-11-21 19:43:56 -06:00
<div class="page-list">
{{ with .Paginator.Pages.Reverse }}
<ul>
{{ $i := 0 }}
{{ $total := len $.Pages }}
{{ range . }}
{{ $i = add 1 $i }}
{{ .Scratch.Set "series_position" $i }}
{{ .Scratch.Set "series_total" $total }}
<li>{{ .Render "summary/post" }}</li>
{{ end }}
</ul>
{{ else }}
<div>
{{ i18n "no_posts" }}
</div>
{{ end }}
2021-11-21 19:43:56 -06:00
</div>
{{ partial "pagination.html" . }}
{{ end }}