improve validation

This commit is contained in:
2025-09-28 18:49:36 +02:00
parent 9c1cbfef90
commit 3187fbf4f9
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
{% endif %}
<span class="footer-copyright">
&copy; {{ year }}
{% if theme_config.footer.info_en is defined and theme_config.footer.info_en %}
{% if theme_config.footer.info_en is defined and theme_config.footer.info_en is not empty %}
{{ theme_config.footer.info_en }}
{% endif %}
</span>

View File

@@ -5,7 +5,7 @@
{% endif %}
<span class="footer-copyright">
&copy; {{ year }}
{% if theme_config.footer.info is defined and theme_config.footer.info %}
{% if theme_config.footer.info is defined and theme_config.footer.info is not empty %}
{{ theme_config.footer.info }}
{% endif %}
</span>