datalad / datalad.org

Website sources of datalad.org
https://www.datalad.org
4 stars 10 forks source link

Ensure that the index page's copyright is always current #132

Closed adswa closed 1 year ago

adswa commented 1 year ago

fixes #130

This is how it looks like when build locally: image

aqw commented 1 year ago

I am against this kind of approach. Copyright can only be claimed if indeed something has been created. However, this script executes JS client side to grab the current year, and then claim copyright regardless if the content was actually created at that time.

The declaration of copyright years needs to be an explicit process, though it can feel like a needless repetitive process.

yarikoptic commented 1 year ago

could year be somehow fetched from the last commit date? (forgot how we build/deploy website here)

aqw commented 1 year ago

could year be somehow fetched from the last commit date? (forgot how we build/deploy website here)

Pelican is used. A plugin could possibly be used to extract the year of the most recent commit.

adswa commented 1 year ago

Sorry, I missed the verdict initially - closing this to not clutter the repo, and thanks for the feedback :)