mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 20:23:18 -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 }}
|