bobatheme/layouts/taxonomy/term.html

30 lines
720 B
HTML
Raw Permalink Normal View History

2021-11-21 19:43:56 -06:00
{{ 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>
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">
{{ with .Paginator.Pages }}
<ul>
{{ range . }}
<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 }}