We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Doing this: https://github.com/526avijitgupta/gokarna/blob/fc09ce7645eb309dc70796376f0da042b10f9889/archetypes/posts.md?plain=1#L1-L10
is bad. Particularly date: {{ now.Format "2006-01-02" }} ommits necessary timezone information. See gohugoio/hugo#12940 for more information.
date: {{ now.Format "2006-01-02" }}
The text was updated successfully, but these errors were encountered:
Though this can be fixed by specifying timeZone = "Local" in the config.
timeZone = "Local"
Sorry, something went wrong.
This would be a good addition to the docs. Feel free to submit a PR.
date: {{ now.Format "2006-01-02" }} ommits necessary timezone information
You can submit a PR which adds timezone offsets to date and lastmod.
date
lastmod
exampleSite makes use of time:
exampleSite
gokarna-hugo/exampleSite/content/posts/emoji-support.md
Line 3 in 5d0503b
Though the theme does not render it:
@yashmehrotra @526avijitgupta Thoughts on changing archetypes (#241) to add time information?
I prefer yyyy-mm-dd for simplicity and ISO 8601 compliance.
yyyy-mm-dd
No branches or pull requests
Doing this:
https://github.com/526avijitgupta/gokarna/blob/fc09ce7645eb309dc70796376f0da042b10f9889/archetypes/posts.md?plain=1#L1-L10
is bad. Particularly
date: {{ now.Format "2006-01-02" }}
ommits necessary timezone information. See gohugoio/hugo#12940 for more information.The text was updated successfully, but these errors were encountered: