diff options
author | Julien Dessaux | 2021-03-11 19:05:16 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 19:05:16 +0100 |
commit | 56ef5f0685017a612eab192e2221064fc9ee4ae8 (patch) | |
tree | 39b6c0363db6bcf297d3820aa2cdd99b3a556593 /layouts/_default/terms.html | |
parent | Rewrote the whole website to get rid on a heavy theme (diff) | |
download | www-56ef5f0685017a612eab192e2221064fc9ee4ae8.tar.gz www-56ef5f0685017a612eab192e2221064fc9ee4ae8.tar.bz2 www-56ef5f0685017a612eab192e2221064fc9ee4ae8.zip |
Add tags to the menu and fixed formatting on tags' page
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r-- | layouts/_default/terms.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 138e964..8cca470 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -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 }} |