lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
652 stars 362 forks source link

Missing option to include license metadata #517

Open techxplorer opened 1 week ago

techxplorer commented 1 week ago

Describe the bug I want to include a link to the license I use for my content on my site. I noticed that there is no option to do this.

I've also noticed an issue with the copyrightYear element in the ld+json metadata.

To Reproduce License metadata - examine the metadata fields in the head tag and observe there is no license element

Copyright year - examine the copyright year element in ld+json schema. For pages it defaults to the current year, and for the homepage it defaults to the .Site.Params.Copyright value without replacing the placeholder for the current year.

Expected behavior The ability to add license metadata and correct copyrightYear value in the ld+json schema.

techxplorer commented 1 week ago

I've lodged this issue and pull request. As this is my first time contributing, please let me know if there are any improvements that I can make in the future.