add automatic copyright year
All checks were successful
website-main / prod-build (push) Successful in 20s
website-main / test-build (push) Successful in 8s

This commit is contained in:
Denys Konovalov 2024-01-01 18:06:00 +01:00
parent 6cc0a5d461
commit 0ac12ab2f1
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9
2 changed files with 2 additions and 3 deletions

@ -27,8 +27,7 @@ params:
- media/zeichnung.webp
impressumURL: pages/impressum
dseURL: pages/datenschutz
copyright: "Copyright © 2023 Georg-Cantor-Gymnasium Halle (Saale). Made
with :heart: and [Hugo](https://gohugo.io)."
copyright: 'Georg-Cantor-Gymnasium Halle (Saale). Made with :heart: and [Hugo](https://gohugo.io).'
plugins:
css:
- https://assets.cantorgymnasium.de/bootstrap/v5/css/bootstrap.min.css

@ -49,7 +49,7 @@
<div class="container">
<div class="row">
<div class="col-sm-7 text-sm-start text-center">
<p class="mb-0 text-white text-opacity-50">{{ .Site.Params.copyright | markdownify | emojify }}</p>
<p class="mb-0 text-white text-opacity-50">Copyright &copy; {{ time.Format "2006" now }} {{ .Site.Params.copyright | markdownify | emojify }}</p>
</div>
<div class="col-sm-5 text-sm-end text-center">
<ul class="list-inline">