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

github.com/lubang/hugo-hello-programmer-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>2017-04-17 12:30:43 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-04-17 12:30:43 +0300
commit9ddead32bb89ef4c0c55731f201d52ad42d35284 (patch)
tree69572d24a7452b6821dfe9b5aa22b2f24893a139
parentb6a497072dcef7a4c52d615f6e8168e6a3229950 (diff)
Replace RSSlink with RSSLink
The former is deprecated and now removed from Hugo. Note that the latter will also work in older versions of Hugo.
-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 139f9ac..58f569a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -7,8 +7,8 @@
<title>{{ .Title }} {{ if ne .Title .Site.Title }} &middot; {{ .Site.Title }}{{ end }}</title>
<link rel="icon" href="{{ "/favicon.ico" | relURL }}" type="image/x-icon">
<link rel="canonical" href="{{ .Permalink }}">
- {{ if .RSSlink }}
- <link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />
+ {{ if .RSSLink }}
+ <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />
{{ end }}
<link rel="stylesheet" href="{{ "/css/styles.css" | relURL }}">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">