mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 16:15:12 +00:00
header.html: Add .Site.RSSLink as default RSS feed. (#38)
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
This commit is contained in:
1 parent
fe05501b9a
commit
9c5205097a
1 file changed
+3
-4
@@ -20,10 +20,9 @@
|
||||
<link rel="stylesheet" href="{{ $.Site.BaseURL }}css/{{ . }}">
|
||||
{{ end }}
|
||||
|
||||
{{ if .RSSlink }}
|
||||
<link rel="alternate" href="{{ .RSSlink }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||
<link rel="feed" href="{{ .RSSlink }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||
{{ end }}
|
||||
<link rel="alternate" href="{{ .RSSLink | default .Site.RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||
<link rel="feed" href="{{ .RSSLink | default .Site.RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||
|
||||
<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico" type="image/x-icon">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
|
||||
Reference in new issue
Block a user