Allow settings custom copyright

This commit is contained in:
daudix
2024-06-20 09:08:53 +03:00
parent 37e0939391
commit 84a5028c89
2 changed files with 7 additions and 1 deletions

View File

@ -35,7 +35,11 @@
{% if config.extra.footer.show_copyright %}
<p title="Last built at {{ now() | date(format='%F %a %R') }}">
&copy; {{ config.title }}, {{ now() | date(format="%Y") }}
{% if config.extra.footer.copyright %}
{{ config.extra.footer.copyright }}
{% else %}
&copy; {{ config.title }}, {{ now() | date(format="%Y") }}
{% endif %}
</p>
{% endif %}