Nick Thomas 4 years ago
parent
commit
2e2034c664
Signed by: lupine GPG Key ID: 1F1A7ECCCFE0B92F
  1. 11
      themes/grid-side/layouts/partials/core/head.html
  2. 4
      themes/grid-side/layouts/partials/core/main-menu.html

11
themes/grid-side/layouts/partials/core/head.html

@ -4,9 +4,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}">
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}">
{{ if .RSSlink }}
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSlink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
{{ .Hugo.Generator }}
<meta name="generation-date" content="{{ .Now }}">
@ -27,11 +27,10 @@
{{ with .Params.redirect }}
<!-- Attempt redirect through refresh -->
<meta http-equiv="refresh" content="1; url={{ . }}">
<script>
// Meta-refresh failed, so attempt Javascript
window.location.href = "{{ . }}"
</script>
</script>
{{ end }}
</head>

4
themes/grid-side/layouts/partials/core/main-menu.html

@ -49,6 +49,10 @@
{{ end }}
<li class="blue-grey-text" style="border-top: 1px solid;"><!-- Separator --></li>
<li>
<a href="{{ .RSSLink }}" type="application/rss+xml" target="_blank">
<i class="fa fa-rss fa-2x"></i>
</a>
</li>
</ul>
</nav>

Loading…
Cancel
Save