mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
31 lines
821 B
HTML
31 lines
821 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ partial "icon.html" "files" }}
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "post-metadata/series.html" . }}
|
|
|
|
{{ partial "description-or-summary.html" . }}
|
|
|
|
<div class="page-list">
|
|
<ul>
|
|
{{ $i := 0 }}
|
|
{{ $total := len .Pages }}
|
|
{{ range .Paginator.Pages.Reverse }}
|
|
{{ $i = add 1 $i }}
|
|
{{ .Scratch.Set "series_position" $i }}
|
|
{{ .Scratch.Set "series_total" $total }}
|
|
<li>{{ .Render "summary/post" }}</li>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|