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 Yoshi,
Is there any change in the usage of readingTime parameter in config.toml for displaying the reading time of the posts?
readingTime
[params] # Shown in the home page dateFormat = "02 Jan 2006, 15:04" # Show estimated reading time for posts? readingTime = true
The above configuration is not working.
PS: The issue has already mentioned on StackOverflow.
The text was updated successfully, but these errors were encountered:
You need to add it to your template. In this theme I recommend to add it to layouts/partials/post_meta.html
layouts/partials/post_meta.html
Maybe you can try this:
{{ if .Site.Params.ReadingTime }} <div> <i class="fas fa-clock"></i> {{ .ReadingTime }} min </div> {{ end }}
Sorry, something went wrong.
add reading time yoshiharuyamashita#89
2074dd5
Thanks, @dwy6626 for the hack! It gives the following output.
It would be a good idea to align it next to the time of the post!
No branches or pull requests
Hi Yoshi,
Is there any change in the usage of
readingTime
parameter in config.toml for displaying the reading time of the posts?The above configuration is not working.
PS: The issue has already mentioned on StackOverflow.
The text was updated successfully, but these errors were encountered: