chore: use generate_feeds for atom and change feed_filename to feed_filenames
This commit is contained in:
parent
c86acb71e0
commit
e7f7d2bd7c
@ -27,7 +27,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<link href="/404.html" rel="canonical">
|
<link href="/404.html" rel="canonical">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}">
|
{% if config.generate_feeds %}{% for feed in config.feed_filenames %}<link rel="alternate" type={% if feed == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="RSS" href="{{ get_url(path=feed) | safe }}">{% endfor %}{% endif %}
|
||||||
{% endblock meta %}
|
{% endblock meta %}
|
||||||
|
|
||||||
{% block og_card %}
|
{% block og_card %}
|
||||||
|
Loading…
Reference in New Issue
Block a user