taxonomies - added taxonmies support

This commit is contained in:
James Ray 2021-08-15 10:52:43 -04:00
parent 8f239a0ddc
commit f420e5763c
6 changed files with 182 additions and 1 deletions

View file

@ -54,7 +54,15 @@
<div class="title">
<h1>{{ .Page.Title }}</h1>
</div>
{{ if site.Params.enableTags }}
<div class="taxonomy-terms">
<ul class="taxonomy-terms">
{{ range .Params.tags }}
<li><a href="/tags/{{ . | urlize }}"><span class="tag-item">{{ . }}</span></a></li>
{{ end }}
</ul>
</div>
{{ end }}
<div class="post-content" id="post-content">
{{ .Page.Content }}
</div>