aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-12 12:38:33 +0100
committerJulien Dessaux2021-03-12 12:38:33 +0100
commit0457e2249a42fd50d2e6bba4f3d2e30a23569d5c (patch)
tree4be28bbf8b9366cffe59a3aef566df651314b7f6 /layouts
parentLimit the number of articles in the rss feed and output the full article (diff)
downloadwww-0457e2249a42fd50d2e6bba4f3d2e30a23569d5c.tar.gz
www-0457e2249a42fd50d2e6bba4f3d2e30a23569d5c.tar.bz2
www-0457e2249a42fd50d2e6bba4f3d2e30a23569d5c.zip
Simplified tags menu generation
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/nav.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index b3e4863..bf65d09 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -3,6 +3,7 @@
<ul>
<li class="nav-menu-title"><a href="/">{{ .Site.Title }}</a></li>
<li><a href="/index.xml">RSS</a></li>
+ <li><a href="/tags/">Tags</a></li>
{{- $p := . -}}
{{- range .Site.Menus.main.ByWeight -}}
{{- $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}}