Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PublishDate parameter #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Staudey
Copy link
Member

@Staudey Staudey commented Sep 10, 2024

Also rename from PublishedDate, as PublishDate seems to be the default

This fixes a warning on (re)building Solus site

WARN calling IsSet with unsupported type "ptr" (*hugolib.pageState) will always return false.

I think this is what this statement was supposed to accomplish, but I'm not 100% sure, so this is a separate PR from the deprecation fix. There's no PublishedDate (or now PublishDate) set for anything at the moment either way, as far as I can tell. When I set one for a random blog post it gets applied just fine with this PR.

Also rename from PublishedDate, as PublishDate seems to be the default

This fixes a warning on (re)building Solus site

Signed-off-by: Thomas Staudinger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant