Fix mimetype for atom
This commit is contained in:
parent
ceca375eb7
commit
0c49d88c5f
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue