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:
layouts
partials
series
taxonomy
5
layouts/partials/pagination.html
Normal file
5
layouts/partials/pagination.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ if gt .Paginator.TotalPages 1 }}
|
||||
<div class="pagination">
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
5
layouts/partials/rss-link.html
Normal file
5
layouts/partials/rss-link.html
Normal file
@ -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>
|
5
layouts/partials/term-description.html
Normal file
5
layouts/partials/term-description.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ with .Description }}
|
||||
<div class="term-description">
|
||||
<p>{{ . | markdownify }}</p>
|
||||
</div>
|
||||
{{ end }}
|
Reference in New Issue
Block a user