diff --git a/templates/macros/menu.html b/templates/macros/menu.html index 0d9ee3a..d35d9f8 100644 --- a/templates/macros/menu.html +++ b/templates/macros/menu.html @@ -47,7 +47,14 @@ {%- set is_rss = item.url == "$BASE_URL/$FEED_FILENAME" -%} {%- if is_rss and config.generate_feed %} - + + {%- if config.feed_filename == "rss.xml" %} + {% set feed_type = 'rss+xml' %} + {%- else %} + {% set feed_type = 'atom+xml' %} + {% endif -%} + +