Added rssinmenu parameter to allow link to RSS to be placed in the menu.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user