2021-10-15 18:13:14 -05:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<h1>
|
|
|
|
{{ partial "icon.html" "filter" }}
|
|
|
|
{{ i18n "filtering_for" .Title }}
|
|
|
|
{{ if eq .Kind "term" }}
|
|
|
|
<span class="rss-link">
|
|
|
|
{{ with .OutputFormats.Get "rss" }}
|
2021-10-26 18:50:48 -05:00
|
|
|
<a href="{{ .Permalink }}">{{ partial "icon.html" "rss-feed" }}</a>
|
2021-10-15 18:13:14 -05:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
{{ if eq .Kind "taxonomy" }}
|
|
|
|
<ul>
|
|
|
|
{{ range .Pages }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
{{ range .Paginator.Pages }}
|
|
|
|
{{ .Render "summary" }}
|
|
|
|
{{ else }}
|
|
|
|
<div>
|
|
|
|
{{ i18n "no_posts" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if gt .Paginator.TotalPages 1 }}
|
|
|
|
<div class="pagination">
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|