Merge branch 'mikijov-rssinmenu'

This commit is contained in:
Joe Hutchinson
2019-07-18 14:30:20 -04:00
2 changed files with 5 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ brand = "The name that is displayed in the top left of the website, consider it
description = "The website's description" description = "The website's description"
homeimg = "URL to the image used for the home button at the bottom of each post - optional" homeimg = "URL to the image used for the home button at the bottom of each post - optional"
bgimg = "URL to the image used for the page background - optional" bgimg = "URL to the image used for the page background - optional"
rssinmenu = whether you would like a RSS feed link to appear in the navigation menu (true, false) - optional
``` ```
The `title` parameter is used for each page title, the title that search engines display in search results. If you would like the title shown in the top left of the page to be different from the page title, use the `brand` parameter. For instance, the title parameter for my site is `Joe Hutchinson` but the brand parameter is set to `joehutch`. The `title` parameter is used for each page title, the title that search engines display in search results. If you would like the title shown in the top left of the page to be different from the page title, use the `brand` parameter. For instance, the title parameter for my site is `Joe Hutchinson` but the brand parameter is set to `joehutch`.

View File

@@ -19,6 +19,9 @@
{{ range $key, $value := .Site.Taxonomies.categories -}} {{ 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> <li><a href="{{ (printf "%s%s" "categories/" ($key | urlize)) | absURL }}" class="hamburger-menu-overlay-link">{{ $key | humanize }}</a></li>
{{- end }} {{- end }}
{{ if eq .Site.Params.rssinmenu true -}}
<li><a href="{{ "/index.xml" | absURL }}" class="hamburger-menu-overlay-link">rss</a></li>
{{- end }}
</ul> </ul>
</div> </div>
</nav> </nav>