1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00

layouts/_default/baseof.html: Remove second RSS link

link tags with rel="feed" don't seem to be valid. They are flagged
by the w3c validator and modern documentation only mentions the use
of rel="alternate", which we are already using.

See: https://validator.w3.org
See: https://developer.mozilla.org/en-US/docs/Web/RSS/Getting_Started/Syndicating
This commit is contained in:
Alan Orth 2017-01-05 14:34:10 +02:00
parent 61f08c0941
commit ffb8487c13
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -15,7 +15,6 @@
{{ if .RSSLink }}
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
{{ template "_internal/google_analytics_async.html" . }}