1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-06-26 15:17:29 -05:00

Redo taxonomy template structure

This commit is contained in:
2021-11-21 19:43:56 -06:00
parent 28cf50d3d8
commit f77efb1843
7 changed files with 98 additions and 75 deletions

@ -0,0 +1,5 @@
{{ if gt .Paginator.TotalPages 1 }}
<div class="pagination">
{{ template "_internal/pagination.html" . }}
</div>
{{ end }}

@ -0,0 +1,5 @@
<span class="rss-link">
{{ with .OutputFormats.Get "rss" }}
<a href="{{ .Permalink }}" target="_blank" rel="noopener">{{ partial "icon.html" "rss-feed" }}</a>
{{ end }}
</span>

@ -0,0 +1,5 @@
{{ with .Description }}
<div class="term-description">
<p>{{ . | markdownify }}</p>
</div>
{{ end }}