diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-17 10:58:16 +0300 |
---|---|---|
committer | Chip Senkbeil <chip.senkbeil@gmail.com> | 2016-11-17 10:58:16 +0300 |
commit | 8f162ae0c4f4097778ac9d7e7a873f8fb29269c5 (patch) | |
tree | a0550e1afbcb95d79dc1efc5aab109ef24fe7526 | |
parent | f568d84477c9b864cdbb8092ad63f37e380388c3 (diff) |
Rename RSSlink to RSSLink (#35)
The former will be deprecated and eventually removed from Hugo.
Note: Currently both of them exist in Hugo, which is the reason for the cleanup.
-rw-r--r-- | layouts/partials/core/head.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/core/head.html b/layouts/partials/core/head.html index d37c0b8..0a01b83 100644 --- a/layouts/partials/core/head.html +++ b/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 }}"> |