Skip to content

Dates are incorrect #506

Answered by markdumay
rimatech987 asked this question in Help
Discussion options

You must be logged in to vote

This is by design. You might want to check the Hugo docs. Hinode uses the creation date and last modification date (lastmod). Your modification date can vary with for example the date of your local file, or the git merge date.

In your example, Hugo detects that you have made changes since the original date (Jan 1st). You can either update the date field to the correct one, or adjust the configuration in your frontmatter.

I'm also wondering what's the point of specifying the author of the post since it doesn't appear in the header. Is there any way to show it?

You would have to modify the desired layout page, for example layouts/_default/single.html. The Hugo docs provide an example on h…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by markdumay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #505 on September 02, 2023 13:28.