ReadingTime in seconds

Hi,
How can I have reading time variable in seconds instead of minutes?
Thanks

{{ mul .ReadingTime 60 }}

for small paragraph I will get 0

You would have to do the calculations yourself to get around that problem. Not sure how useful that is.

I read small paragraphs in no time. So it is accurate for me. :wink:

1 Like

You can replicate the ReadingTime calculation in the template:

{{ div (add .WordCount 212) 213 | int }}

Starting from there, you can do your own calculation to get sub-minute values.