Gatsby-theme-novela: Bug in the read time

Created on 1 May 2020  路  3Comments  路  Source: narative/gatsby-theme-novela

Prerequisites

  • [Yes ] Have you searched the issue tracker for similar issues (either past or present)?
  • [Yes ] Can you reproduce the issue consistently?
  • [ ] Are you reporting to the correct repository?
  • [Maybe ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.

Description

The readtime in all the posts is always 1 minute. I also saw this in other novela based blogs.

Version of Novela you are using

0.13.1

Number of posts you have and which data source

  • [2] Local
  • [0] Contentful

Describe the bug

Readtime is always 1 minute

To Reproduce

Steps to reproduce the behavior:

  1. Go to my blog

Expected behavior

Vary in the different articles depending o the length

Screenshots

You can check in both the two posts on my blog

Browser

Chrome and iOS Safari

Additional context

_Add any other context about the problem here._

bug

All 3 comments

I believe its' a minimum of 1 minute. If you post a longer piece of content it'll reflect it.
The math is based on the global words per minute average. It doesn't take into account code blocks and images, unfortunately.
In your case they're both relatively similar in terms of amount of text and it would be strange to be seconds as reading time imo.

@brotzky I鈥檝e just tried and it works fine. Thanks

No problem. Appreciate you bringing it up and asking. Thanks @jorejas.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zactony picture zactony  路  3Comments

devanSAGA picture devanSAGA  路  4Comments

rommelporras picture rommelporras  路  4Comments

eugenejeonme picture eugenejeonme  路  3Comments

mabasic picture mabasic  路  4Comments