This commit is contained in:
2017-11-17 00:06:26 +00:00
2 changed files with 9 additions and 6 deletions

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>

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>