Files
paxover/templates/partials/footer.html.twig
2025-09-28 18:47:32 +02:00

14 lines
496 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 is defined and theme_config.footer.info %}
{{ theme_config.footer.info }}
{% endif %}
</span>
<span class="footer-link">
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title }}</a>
</span>