Add tags to the menu and fixed formatting on tags' page

This commit is contained in:
Julien Dessaux 2021-03-11 19:05:16 +01:00
parent 60d3abc6ec
commit 56ef5f0685
4 changed files with 16 additions and 5 deletions

View file

@ -1,11 +1,15 @@
{{ define "main" }}
{{ with .Content }}
{{ . }}
{{ end }}
<h1>{{ .Title }}</h1>
<ul>
{{ range .Data.Terms.Alphabetical }}
<p>
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} posts
</p>
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} posts</li>
{{ end }}
</ul>
{{ end }}