add taxonomy and term lists

This commit is contained in:
Jacky Zhao 2021-12-27 19:35:42 -05:00
parent a45856d788
commit e4caa0d1d7
7 changed files with 157 additions and 32 deletions

View file

@ -17,6 +17,11 @@
<p class="meta">
Last updated {{if ne .Date .Lastmod}}{{ .Lastmod.Format "January 2, 2006" }}{{else}}Unknown{{end}}
</p>
<ul class="tags">
{{ range (.GetTerms "tags") }}
<li><a href="{{ .Permalink }}">{{ .LinkTitle | humanize }}</a></li>
{{ end }}
</ul>
{{if $.Site.Data.config.enableToc}}
<aside class="mainTOC">
<h3>Table of Contents</h3>