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
Hi,
I am completely new to Hugo and just barely got to know your theme that fits nicely for my needs. I tried to set
BookDateFormat: ":date_long"
to get localized values for the date in posts. Unfortunately that does not work. I changed partials/date.html to
{{- return (time.Format $format .Date) -}}
which does what I expect. Is this the right way to do it? And would that be an adjustment that makes sense in general?
Regards Hendrik
The text was updated successfully, but these errors were encountered:
Hi! Yes, that partial there specifically for that purpose, as that date formatting is old, I'm afraid to change it to not break someone's site.
Sorry, something went wrong.
No branches or pull requests
Hi,
I am completely new to Hugo and just barely got to know your theme that fits nicely for my needs. I tried to set
BookDateFormat: ":date_long"
to get localized values for the date in posts. Unfortunately that does not work. I changed partials/date.html to
{{- return (time.Format $format .Date) -}}
which does what I expect. Is this the right way to do it? And would that be an adjustment that makes sense in general?
Regards
Hendrik
The text was updated successfully, but these errors were encountered: