diff --git a/config.toml b/config.toml index 1150ef7..e05d7b0 100644 --- a/config.toml +++ b/config.toml @@ -116,6 +116,8 @@ show_copyright = true show_powered_by = true # Whether to show link to website source show_source = false +# Custom copyright text +# copyright = "© Aperture Science Innovators, 1972" # Based on https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/ # diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 7cc1744..8feace3 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -35,7 +35,11 @@ {% if config.extra.footer.show_copyright %}
- © {{ config.title }}, {{ now() | date(format="%Y") }} + {% if config.extra.footer.copyright %} + {{ config.extra.footer.copyright }} + {% else %} + © {{ config.title }}, {{ now() | date(format="%Y") }} + {% endif %}
{% endif %}