Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/josephhutch/aether.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hutchinson <HutchinsonJoseph@JohnDeere.com>2019-07-18 21:28:24 +0300
committerJoe Hutchinson <HutchinsonJoseph@JohnDeere.com>2019-07-18 21:28:24 +0300
commit39cb18030ad2046f8b39dce03c9fd69f372b62a2 (patch)
tree6b5759d820a8fa73dd17d2b9eaeaf95b8d212f51 /layouts
parent95a62149d33495aafb22c1fabb556e7c0ec5b9ac (diff)
Add option to display rss feed link in navigation menu
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/nav-bar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/nav-bar.html b/layouts/partials/nav-bar.html
index 4a9eb06..92314d6 100644
--- a/layouts/partials/nav-bar.html
+++ b/layouts/partials/nav-bar.html
@@ -19,7 +19,7 @@
{{ range $key, $value := .Site.Taxonomies.categories -}}
<li><a href="{{ (printf "%s%s" "categories/" ($key | urlize)) | absURL }}" class="hamburger-menu-overlay-link">{{ $key | humanize }}</a></li>
{{- end }}
- {{ if isset $.Site.Params "rssinmenu" -}}
+ {{ if eq .Site.Params.rssinmenu true -}}
<li><a href="{{ "/index.xml" | absURL }}" class="hamburger-menu-overlay-link">rss</a></li>
{{- end }}
</ul>