diff --git a/themes/tabi/templates/macros/feed_utils.html b/themes/tabi/templates/macros/feed_utils.html index 7a649b8..b6a84e6 100644 --- a/themes/tabi/templates/macros/feed_utils.html +++ b/themes/tabi/templates/macros/feed_utils.html @@ -11,7 +11,7 @@ {#- Check footer feed icon conditions -#} {%- macro should_show_footer_feed_icon() -%} - {%- set generate_feed = feed_utils::get_generate_feed() -%} + {%- set generate_feed = feed_utils::get_generate_feed() == "true" -%} {%- set feed_url = feed_utils::get_feed_url() -%} {{- generate_feed and config.extra.feed_icon and feed_url -}} {%- endmacro should_show_footer_feed_icon -%} diff --git a/themes/tabi/templates/partials/footer.html b/themes/tabi/templates/partials/footer.html index b52dd4f..c0466a0 100644 --- a/themes/tabi/templates/partials/footer.html +++ b/themes/tabi/templates/partials/footer.html @@ -6,7 +6,7 @@ {#- Feed icon -#} {%- set feed_url = feed_utils::get_feed_url() -%} -{%- set should_show_feed = feed_utils::should_show_footer_feed_icon() -%} +{%- set should_show_feed = feed_utils::should_show_footer_feed_icon() == "true" -%} {%- set should_show_footer_icons = should_show_feed or config.extra.socials or config.extra.email -%}