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

github.com/naro143/hugo-coder-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaro143 <y.ishimi@itdharman.com>2019-04-25 11:33:59 +0300
committernaro143 <y.ishimi@itdharman.com>2019-04-25 11:33:59 +0300
commit6cdf882713d53309adc8fbcc980b04d748d91b64 (patch)
treeb00512635da8683130d1c206b7367e4d0974676e
parent39711c251a70dad05a4b707b0442f4876d31dd4d (diff)
replace: .RSSLink
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 47492ce..fc1b60e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -41,9 +41,9 @@
<link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
- {{ if .RSSLink }}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
- <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
+ {{ with .Site.Home.AlternativeOutputFormats.Get "RSS" }}
+ <link rel="alternate" href="{{ .Permalink }}" type="application/rss+xml" title="{{ $.Site.Title | plainify }}">
+ <link href="{{ .Permalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title | plainify }}" />
{{ end }}
{{ hugo.Generator }}