2021-11-21 19:43:56 -06:00
|
|
|
{{ define "main" }}
|
|
|
|
<h1>
|
|
|
|
{{ partial "icon.html" "files" }}
|
|
|
|
{{ .Title | markdownify }}
|
|
|
|
{{ partial "rss-link.html" . }}
|
|
|
|
</h1>
|
|
|
|
|
2021-11-22 01:36:29 -06:00
|
|
|
{{ partial "description-or-summary.html" . }}
|
2021-11-21 19:43:56 -06:00
|
|
|
|
|
|
|
<div class="page-list">
|
|
|
|
<ul>
|
2021-11-23 13:14:44 -06:00
|
|
|
{{ $i := 0 }}
|
|
|
|
{{ $total := len .Pages }}
|
2021-11-21 19:43:56 -06:00
|
|
|
{{ range .Paginator.Pages.Reverse }}
|
2021-11-23 13:14:44 -06:00
|
|
|
{{ $i = add 1 $i }}
|
|
|
|
{{ .Scratch.Set "series_position" $i }}
|
|
|
|
{{ .Scratch.Set "series_total" $total }}
|
2021-11-22 01:57:35 -06:00
|
|
|
<li>{{ .Render "summary/post" }}</li>
|
2021-11-21 19:43:56 -06:00
|
|
|
{{ else }}
|
|
|
|
<div>
|
|
|
|
{{ i18n "no_posts" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
{{ end }}
|