diff --git a/templates/macros/menu.html b/templates/macros/menu.html
index 90cd50e..347087d 100644
--- a/templates/macros/menu.html
+++ b/templates/macros/menu.html
@@ -48,7 +48,7 @@
{%- set is_rss = item.url == "$BASE_URL/$FEED_FILENAME" -%}
- {%- if is_rss %}
+ {%- if is_rss and config.generate_feed %}