Просмотр исходного кода

s/RSSlink/RSSLink

biological-sex
Nick Thomas 4 лет назад
Родитель
Сommit
57ac7d42d2
  1. 11
      themes/grid-side/layouts/partials/core/head.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>
Загрузка…
Отмена
Сохранить