Fix mimetype for atom

This commit is contained in:
Vincent Prouillet 2020-05-26 19:00:01 +02:00
parent ceca375eb7
commit 0c49d88c5f

View file

@ -12,7 +12,7 @@
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
{% if config.generate_feed %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}">
<link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}">
{% endif %}
{% block css %}