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

github.com/EmielH/stip-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2019-04-02 21:58:33 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2019-04-02 21:58:33 +0300
commitf16c1bbbe52a12ced622fd458cef260afc865fce (patch)
treef092f62be46b5dc45e187b23389b75484e9f1984
parenta4fe7a835f8e2acfd0910377f31e0aabeb82e601 (diff)
Use .OutputFormats.Get "RSS" instead of .RSSLink
.RSSLink will be deprecated in Hugo 0.55
-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 fd787b0..7501545 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -33,5 +33,5 @@
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}">
<!-- RSS -->
- <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 }}" />
</head>