Skip to content
Discussion options

You must be logged in to vote

The date behaviour is set here: https://github.com/wowchemy/wowchemy-hugo-modules/blob/main/wowchemy/layouts/partials/page_metadata.html#L22

If Lastmod is not equal to Date then "Last Updated on" is added. I'm not sure what date Hugo sets Lastmod to if you haven't set lastmod in your frontmatter. Maybe that have changed in a recent Hugo release and that's why you're seeing different results locally and using GP and Netlify, i.e. the Hugo version set for Netlify/GP differs from your local version.

As a work around, you can set lastmod to the same date as date and "Last updated on" should go away.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@chrede88
Comment options

@chrede88
Comment options

@chrede88
Comment options

@ghost
Comment options

@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant