diff options
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html index 7f6f95f..0e826da 100644 --- a/templates/base.html +++ b/templates/base.html @@ -120,7 +120,13 @@ <hr> <center> <p>{{ social_macros::social_links(social_config=config.extra.social) }}</p> - {# Copyright #}<p>Copyright © 2019-{{ now() | date(format="%Y") }} {{ config.title }}</p> + + {# Copyright #} + {% set start_year=config.extra.start_year | default(value="") %} + {% if start_year %}{% set start_year=start_year ~ "-" %}{% endif %} + {% set end_year=config.extra.end_year | default(value=now() | date(format="%Y")) %} + <p>Copyright © {{ start_year ~ end_year}} {{ config.title }}</p> + <p>{% for i in config.extra.menu_footer %}<a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}">{{ i.name }}</a> {% endfor %}</p> {# Optional footer credit #} {% if config.extra.footer_credit %} |
