Implemented tags in blog type and removed from default

This commit is contained in:
Brandon Rozek 2020-02-16 17:29:11 -05:00
parent d63dee8bf4
commit b490470a71
8 changed files with 44 additions and 25 deletions

View file

@ -1,13 +0,0 @@
{{ define "main"}}
<h1>{{ .Title }}</h1>
{{ 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 }}