Files
paxover/templates/partials/footer.html.twig
2025-09-28 19:04:56 +02:00

14 lines
515 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;&nbsp;{{ year }}
{% if theme_config.footer.info is defined and theme_config.footer.info is not empty %}
&nbsp;|&nbsp;{{ theme_config.footer.info|raw }}
{% endif %}
</span>
<span class="footer-link">
<a href="{{ theme_config.footer.url }}">{{ theme_config.footer.title }}</a>
</span>