mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-24 09:06:30 -05:00
Add term.html
This commit is contained in:
parent
bd20b884ef
commit
72c68aac7d
2 changed files with 13 additions and 0 deletions
|
@ -26,6 +26,7 @@ hasCJKLanguage = true
|
|||
|
||||
[outputs]
|
||||
section = ["JSON", "HTML"]
|
||||
taxonomy = ["JSON", "HTML"]
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "blog"
|
||||
|
|
12
layouts/_default/terms.html
Normal file
12
layouts/_default/terms.html
Normal 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 }}
|
Loading…
Reference in a new issue