Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coderzh/hugo-pacman-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-17 11:08:19 +0300
committercoderzh <pythonzh@qq.com>2016-11-19 09:29:36 +0300
commit0a6aadddbd8ddbd3b327e87bac57f8801946d177 (patch)
tree180b800de83f82e1607ed9ea3d233b752e473902
parentfeec8923b0a4edca01e51557782932381d297b0a (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.html2
-rw-r--r--layouts/partials/widgets/rss.html2
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>