header.html: Add .Site.RSSLink as default RSS feed. (#38)

Signed-off-by: Stephan Kulla <git.mail@kulla.me>
This commit is contained in:
Stephan Kulla 2016-09-30 12:45:31 +02:00 committed by gcushen
commit 9c5205097a

View file

@ -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 }}">