mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 09:02:18 +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:
parent
61f08c0941
commit
ffb8487c13
@ -15,7 +15,6 @@
|
|||||||
{{ if .RSSLink }}
|
{{ if .RSSLink }}
|
||||||
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
|
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
|
||||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
<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 }}
|
{{ end }}
|
||||||
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user