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

github.com/syui/hugo-theme-wave.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:16:45 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-17 11:16:45 +0300
commit8acc9075c67e638c682777db2a5756d04749a41b (patch)
tree140e445157ab72d26705e5b94c614247c9efd3c3
parente684d85233527145d230c91950be780aadfbd515 (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.html6
-rw-r--r--layouts/partials/navbar-icon.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b024c32..d433d09 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -41,9 +41,9 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/mobile.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/cal-heatmap/cal-heatmap.css" />
- {{ if .RSSlink }}
- <link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSlink }}"/>
- <link rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSlink }}" />
+ {{ if .RSSLink }}
+ <link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSLink }}"/>
+ <link rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSLink }}" />
{{ end }}
<!--
diff --git a/layouts/partials/navbar-icon.html b/layouts/partials/navbar-icon.html
index c187e7b..4563447 100644
--- a/layouts/partials/navbar-icon.html
+++ b/layouts/partials/navbar-icon.html
@@ -16,7 +16,7 @@
</li>
<li>
- <a href="{{ .RSSlink }}">
+ <a href="{{ .RSSLink }}">
<i class="fa fa-rss-square" aria-hidden="true"></i>
</a>
</li>