Add link to RSS feed in HTML head

This should allow RSS detection by browsers / browser extensions (e.g. "Awsome RSS" for firefox).
This commit is contained in:
Louis Royer 2022-02-28 13:58:28 +01:00 committed by GitHub
parent bb53de7d88
commit 5c63bd4030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,3 +53,8 @@
{% if site.blog.inline_footnotes == true %}
<link rel="stylesheet" href="{{ "assets/css/bf.css" | relative_url }}">
{% endif %}
{% if site.author.rss == true %}
<!-- RSS feed -->
<link type="application/rss+xml" rel="alternate" href="{{ '/feed.xml' | prepend: site.baseurl }}" title="{{ site.blog.title | xml_escape }}" />
{% endif %}