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

github.com/shaform/hugo-theme-den.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaform <shaform@gmail.com>2019-08-16 19:59:42 +0300
committerShaform <shaform@gmail.com>2019-08-16 19:59:42 +0300
commit0da7206bdb8c4b2332785011cd87ed3b4ba15e79 (patch)
treed6d6f600afd5c3e100360efd7f3c154de9861e6e
parent553b158be852cff4893171a29e30d253939d8886 (diff)
remove RSSLink
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index abe18af..3011c1b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -36,8 +36,8 @@
<link rel="stylesheet" href="{{ "css/" | absURL }}{{ . }}">
{{ end }}
-{{ if .RSSLink }}
-<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+{{ with .OutputFormats.Get "RSS" }}
+<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
{{ end }}
{{/* https://gohugo.io/templates/internal/ */}}