mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02: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:
parent
fe05501b9a
commit
9c5205097a
1 changed files with 3 additions and 4 deletions
|
@ -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 }}">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue