aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 19:05:16 +0100
committerJulien Dessaux2021-03-11 19:05:16 +0100
commit56ef5f0685017a612eab192e2221064fc9ee4ae8 (patch)
tree39b6c0363db6bcf297d3820aa2cdd99b3a556593 /layouts/_default
parentRewrote the whole website to get rid on a heavy theme (diff)
downloadwww-56ef5f0685017a612eab192e2221064fc9ee4ae8.tar.gz
www-56ef5f0685017a612eab192e2221064fc9ee4ae8.tar.bz2
www-56ef5f0685017a612eab192e2221064fc9ee4ae8.zip
Add tags to the menu and fixed formatting on tags' page
Diffstat (limited to '')
-rw-r--r--layouts/_default/terms.html10
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 }}