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

github.com/VVelox/hugo-dusky-neon-potato.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZane C. Bowers-Hadley <vvelox@vvelox.net>2019-05-06 09:46:51 +0300
committerZane C. Bowers-Hadley <vvelox@vvelox.net>2019-05-06 09:46:51 +0300
commita696672a1930ec044576a2f47d234f9608de7ea0 (patch)
treef22ad1a5510ef94e07e381c1ae4399a61a65bc96
parent385b87c37cb491d22aa3acd510b47f30ed707c8b (diff)
Deprecate RSSLink #4427
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 488b7e3..4d4bd5f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -49,7 +49,7 @@
<link rel='icon' type='image/x-icon' href="{{ . | absURL }}" />
{{- end -}}
{{ if eq .URL "/" }}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+ <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/bundle.js"></script>
{{ if .Params.sort_tables }}