diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-17 11:08:19 +0300 |
---|---|---|
committer | coderzh <pythonzh@qq.com> | 2016-11-19 09:29:36 +0300 |
commit | 0a6aadddbd8ddbd3b327e87bac57f8801946d177 (patch) | |
tree | 180b800de83f82e1607ed9ea3d233b752e473902 | |
parent | feec8923b0a4edca01e51557782932381d297b0a (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 | 2 | ||||
-rw-r--r-- | layouts/partials/widgets/rss.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7c95b76..c35281d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,7 +15,7 @@ <meta name="twitter:title" content="{{ if ne .URL "/" }}{{ .Title }} - {{ end }}{{ .Site.Title }}" />{{ end }} {{ with .Description }}<meta name="twitter:description" content="{{ . }}" />{{ else }} <meta name="twitter:description" content="{{ .Site.Params.Description }}">{{ end }} - {{ if .RSSlink }}<link rel="alternate" href="{{ .Site.BaseURL }}feed.xml" title="{{ .Site.Title }}" type="application/rss+xml"/>{{ end }} + {{ if .RSSLink }}<link rel="alternate" href="{{ .Site.BaseURL }}feed.xml" title="{{ .Site.Title }}" type="application/rss+xml"/>{{ end }} <link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico"/> <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> <link rel="apple-touch-icon-precomposed" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> diff --git a/layouts/partials/widgets/rss.html b/layouts/partials/widgets/rss.html index 6a8b913..fe08fcb 100644 --- a/layouts/partials/widgets/rss.html +++ b/layouts/partials/widgets/rss.html @@ -1,4 +1,4 @@ -{{ if .RSSlink }} +{{ if .RSSLink }} <div class="rsspart"> <a rel="nofollow" href="{{ .Site.BaseURL }}feed.xml" type="application/rss+xml" target="_blank">{{ .Site.Params.Strings.Rss }}</a> </div> |