-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Estimated reading time calculation #8011
Comments
It's easily solvable with some template magic: https://kodify.net/hugo/strings/reading-time-text/#solution-count-words-then-compute-reading-time
Exchange the 220.0 with your number, maybe make it configurable in your config. Note: it MUST end with a point and a digit, so the seconds are calculated properly. (float vs. int) |
I'm not asking for a workaround though, I'm asking for this to be a parameter that can be changed in the config.toml file. |
This is not a workaround. It's how reading time is calculated. It's literally a three-line solution you want to use developer and documentation writing time to implement something which is not a core feature of Hugo. There is a reason Hugo has a templating system. |
I'm sorry, I was under the impression that this was a feature of hugo that themes took advantage of. Is this something that was previously declined as a feature? |
You can also use the see more: page-variables |
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. |
I would like to be able to modify the calculation on which the estimated reading time is based. Somewhere in the forums I saw that it may be based on 220 words per minute, but I'd like to be able to change that.
The text was updated successfully, but these errors were encountered: