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

github.com/tblyler/light-hugo.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:21:18 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-17 11:21:18 +0300
commite7733dbac594a4c021aad22162d3a426f5bcdc84 (patch)
treeb09c2eaa10350af606a4d4aba4cfb5252b4a3db0
parentb984f79ab3b785cbc6d1f4d3d3ed03614ad84753 (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/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 702919b..9053f6e 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -6,8 +6,8 @@
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" type="text/css" href="/css/main.css" />
- {{ if .RSSlink }}
- <link href="{{ .RSSlink }}" rel="alternative" type="application/rss+xml" title="{{ .Title }}" />
+ {{ if .RSSLink }}
+ <link href="{{ .RSSLink }}" rel="alternative" type="application/rss+xml" title="{{ .Title }}" />
{{ end }}
{{ partial "head.html" . }}
</head>