diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-17 11:05:14 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-17 11:05:14 +0300 |
commit | dec3190fb35dc3d73efa5c66d19dd0a8541918ae (patch) | |
tree | b4a041dfb28e4ae24991327daeeaed3dd277e54d | |
parent | abf88dfb045df9d1ffffb2dc3fcd74fb4c2eb9c7 (diff) |
Rename RSSlink to RSSLink
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/head.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 768c772..6e101d0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,9 +11,9 @@ {{ else }} <meta name="description" content="{{ .Site.Params.site_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 }} <link rel="canonical" href="{{ .Permalink }}"/> <link rel="icon" href="{{ .Site.BaseURL }}favicon.ico"> |