🐛 fix: allow feed icon to be hidden

This commit is contained in:
2025-06-06 18:12:55 +07:00
parent a9a6589f7f
commit 02c3adb06e
4 changed files with 4 additions and 4 deletions

View File

@@ -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 -%}