diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-17 10:50:59 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-17 10:50:59 +0300 |
commit | e9afb4109fb4bbabfa2f14a38b2f17df11082a61 (patch) | |
tree | 6ee773275ae361a949acc35f9a1fc8a2aa66e11a /layouts | |
parent | e47d95bfab13cbbd347cb7c5fbeb1f4a3cdd1ec9 (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.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 4 | ||||
-rw-r--r-- | layouts/partials/social.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d9faac9..a23f510 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,8 +33,8 @@ <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet" type="text/css"> <!-- RSS --> - {{ if .RSSlink }} - <link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSlink }}" /> + {{ if .RSSLink }} + <link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSLink }}" /> {{ end }} {{ with .Site.Params.highlightjs }} diff --git a/layouts/partials/social.html b/layouts/partials/social.html index d1e2183..c1323a2 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,9 +1,9 @@ <div class="pure-menu social"> <ul class="pure-menu-list"> - {{ if .RSSlink }} + {{ if .RSSLink }} <li class="pure-menu-item"> - <a class="pure-menu-link" href="{{ .RSSlink }}"><i class="fa fa-rss fa-fw"></i>RSS</a> + <a class="pure-menu-link" href="{{ .RSSLink }}"><i class="fa fa-rss fa-fw"></i>RSS</a> </li> {{ end }} |