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

github.com/EmielH/tale-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-14 20:45:49 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2019-04-14 20:45:49 +0300
commitc68b6e26aa8d053e96be7d6a2eaca579bc7c8eb7 (patch)
treee66039153047a55f5204f18a1423e3178560e3af
parentad9cf5ad3816b7cc47b6e86bb65d54f773673591 (diff)
Remove deprecated .RSSLink
Use .OutputFormats.Get "RSS" instead.
-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 7567b68..11efa74 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -32,5 +32,5 @@
<link rel="apple-touch-icon" sizes="180x180" href="{{ "images/apple-touch-icon.png" | 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>