Nick Thomas 3 years ago
parent
commit
2e2034c664
Signed by: lupine <me@ur.gs> GPG Key ID: 1F1A7ECCCFE0B92F
2 changed files with 9 additions and 6 deletions
  1. +5
    -6
      themes/grid-side/layouts/partials/core/head.html
  2. +4
    -0
      themes/grid-side/layouts/partials/core/main-menu.html

+ 5
- 6
themes/grid-side/layouts/partials/core/head.html View File

@@ -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
- 0
themes/grid-side/layouts/partials/core/main-menu.html View File

@@ -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