-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
.ReadingTime fails in i18n templates #10782
Comments
I cannot reproduce on Linux or Windows 11 when layouts/_default/single.html contains {{ .ReadingTime }} So, we will need a bit more information... |
So, I understand the |
OK, thinking about this, this must be the language strings templates. That runs its own template setup (missing all of the template funcs etc.) which finally got very visible and needs a fix. |
This is a workaround. We need to improve on this, but not today. Fixes gohugoio#10782
This is a workaround. We need to improve on this, but not today. Fixes gohugoio#10782
Thanks @bep for quick answer. I am not the theme creator, I'm using https://github.com/razonyang/hugo-theme-bootstrap.
Sorry I am not the theme creator and don't know Hugo enough to answer. I'm using https://github.com/razonyang/hugo-theme-bootstrap. |
Yea, it's almost certainly this: |
This is a workaround. We need to improve on this, but not today. Fixes #10782
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
The text was updated successfully, but these errors were encountered: