s/RSSlink/RSSLink

This commit is contained in:
2017-04-05 20:04:12 +01:00
parent 25b3d63698
commit 57ac7d42d2

View File

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