Added rssinmenu parameter to allow link to RSS to be placed in the menu.

This commit is contained in:
Milutin Jovanović
2019-06-27 13:42:04 -04:00
parent 37ae1fe169
commit f59df195c5
2 changed files with 7 additions and 1 deletions

View File

@@ -19,6 +19,9 @@
{{ 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" -}}
<li><a href="{{ "/index.xml" | absURL }}" class="hamburger-menu-overlay-link">rss</a></li>
{{- end }}
</ul>
</div>
</nav>
</nav>