I recently updated from version .31 to .40.1 (using the pre-compiled deb file in the release), and now some of my older posts have 0 minute read times.
You can see it here: http://tech.townsourced.com/
And here is the line where I'm very simply calling the {{.ReadingTime}} variable in my template:
Not sure why it's working on my newer posts and not my older ones.
Let me know if there is any additional info I can provide.
This is a bug introduced in the latest release. We only calculate this information if it is used, and we reworked this logic in 0.40 ... and sadly had a hole in the test coverage in this case. I'm sorry about that. The fix is easy, but I will make sure to add proper tests before I issue a patch release.
The only current workaround is to remove the "summary marker".
OK, I have reproduced this:
<!--more--> thenNote that all the other related fields (PlainWords, Plain, Content) are set correctly in both scenarios. So this is the word stats.
Most helpful comment
OK, I have reproduced this:
<!--more-->thenNote that all the other related fields (PlainWords, Plain, Content) are set correctly in both scenarios. So this is the word stats.