aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros/head.html')
-rw-r--r--templates/macros/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros/head.html b/templates/macros/head.html
index 402d99e..9e4d59f 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -26,7 +26,7 @@
{%- endif %}
{%- if config.generate_feed %}
- <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=config.extra.rss_atom_feed, trailing_slash=false) }}">
+ <link rel="alternate" type="{% if config.feed_filename is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" title="Atom/RSS Feed" href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}">
{%- endif %}
{%- endmacro %}