Files
paxover/templates/en/partials/footer.html.twig
2025-09-28 18:49:36 +02:00

15 lines
554 B
Twig

{% if theme_config.footer.year == "now"|date("Y") %}
{% set year = "now"|date("Y") %}
{% else %}
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
{% endif %}
<span class="footer-copyright">
&copy; {{ year }}
{% if theme_config.footer.info_en is defined and theme_config.footer.info_en is not empty %}
{{ theme_config.footer.info_en }}
{% endif %}
</span>
<span class="footer-link">
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title_en }}</a>
</span>
{{ theme_config.analytics|raw }}