diff --git a/templates/index.html b/templates/index.html
index 2859c35..f31f29b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -14,12 +14,17 @@
{%- block open_graph %}{{ head_macros::open_graph(config=config) }}{% endblock open_graph -%}
{%- if config.generate_feeds %}
- {%- if "rss" in config.feed_filename %}
- {% set feed_type = 'rss+xml' %}
- {%- else %}
- {% set feed_type = 'atom+xml' %}
- {% endif -%}
-
+ {%- for feed in config.feed_filenames %}
+
+ {%- if feed is containing('atom') %}
+
+ {%- endif %}
+
+ {%- if feed is containing('rss') %}
+
+ {%- endif %}
+
+ {%- endfor %}
{% endif -%}
{%- if config.extra.favicon %}