Allow settings custom copyright
This commit is contained in:
@ -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/
|
||||
#
|
||||
|
@ -35,7 +35,11 @@
|
||||
|
||||
{% if config.extra.footer.show_copyright %}
|
||||
<p title="Last built at {{ now() | date(format='%F %a %R') }}">
|
||||
© {{ config.title }}, {{ now() | date(format="%Y") }}
|
||||
{% if config.extra.footer.copyright %}
|
||||
{{ config.extra.footer.copyright }}
|
||||
{% else %}
|
||||
© {{ config.title }}, {{ now() | date(format="%Y") }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user