mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-14 20:35:58 -06:00
28 lines
677 B
HTML
28 lines
677 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ if eq .Data.Singular "tag" }}
|
|
{{ partial "icon.html" "tag" }}
|
|
{{ else }}
|
|
{{ partial "icon.html" "filter" }}
|
|
{{ end }}
|
|
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "description-or-summary.html" . }}
|
|
<div class="page-list">
|
|
<ul>
|
|
{{ range .Paginator.Pages }}
|
|
<li>{{ .Render "summary/post" }}</li>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|