theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.13k stars 1.14k forks source link

Copyright in footer doubles information #517

Open metbril opened 2 years ago

metbril commented 2 years ago

The Site.Copyright variable is used in the default RSS feed. So I have added this to my config:

copyright = "© Copyright Robert van Bregt 2003-2021"

which shows up nicely in /index.xml as

<copyright>© Copyright Robert van Bregt 2003-2021</copyright>

However, in the Ananke page footer, it now shows as

© © Copyright Robert van Bregt 2003-2021 2022

Since I think out of the box functionality should always work, my suggestion would be to modify the footer template.

I understand that this removes the functionality to show an automatically updated year number.

metbril commented 2 years ago

More changes for copyright: #449

regisphilibert commented 2 years ago

Hi @metbril and thank you for this.

This would introduce a breaking change as most users would lose the © character from their footer. We'll probably address this is a future major release.