1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-06-20 04:27:30 -05:00
Files
archetypes
assets
data
exampleSite
i18n
layouts
_default
authors
partials
section
series
shortcodes
taxonomy
list.html
term.html
home.html
robots.txt
static
.editorconfig
.gitignore
.gitmodules
LICENSE
README.md
config.yaml
theme.toml
bobatheme/layouts/taxonomy/term.html

27 lines
674 B
HTML

{{ define "main" }}
<div class="post-title">
<h1>
{{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }}
{{ else if eq .Data.Singular "category" }}
{{ partial "icon.html" "folder" }}
{{ else }}
{{ partial "icon.html" "filter" }}
{{ end }}
{{ .Title | markdownify }}
{{ partial "rss-link.html" . }}
</h1>
</div>
{{ partial "post-metadata/taxonomy.html" . }}
{{ with .Content }}
{{ . }}
{{ end }}
{{ partial "page-list.html" .Paginator.Pages }}
{{ partial "pagination.html" . }}
{{ end }}