Add term.html

This commit is contained in:
koirand 2020-01-17 18:16:34 -10:00
parent bd20b884ef
commit 72c68aac7d
2 changed files with 13 additions and 0 deletions

View file

@ -26,6 +26,7 @@ hasCJKLanguage = true
[outputs] [outputs]
section = ["JSON", "HTML"] section = ["JSON", "HTML"]
taxonomy = ["JSON", "HTML"]
[[menu.main]] [[menu.main]]
identifier = "blog" identifier = "blog"

View file

@ -0,0 +1,12 @@
{{ define "main"}}
{{ partial "header.html" . }}
<!-- tags -->
<div id="tags">
<ul>
{{ range .Site.Taxonomies.tags.ByCount }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }} ({{ .Count }})</a></li>
{{ end }}
</ul>
</div>
{{ partial "footer.html" . }}
{{ end }}