diff options
author | Julien Dessaux | 2021-03-12 12:38:33 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-12 12:38:33 +0100 |
commit | 0457e2249a42fd50d2e6bba4f3d2e30a23569d5c (patch) | |
tree | 4be28bbf8b9366cffe59a3aef566df651314b7f6 /layouts/partials/nav.html | |
parent | Limit the number of articles in the rss feed and output the full article (diff) | |
download | www-0457e2249a42fd50d2e6bba4f3d2e30a23569d5c.tar.gz www-0457e2249a42fd50d2e6bba4f3d2e30a23569d5c.tar.bz2 www-0457e2249a42fd50d2e6bba4f3d2e30a23569d5c.zip |
Simplified tags menu generation
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r-- | layouts/partials/nav.html | 1 |
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" .) -}} |