Skip to content

Make blog post reading time dynamic instead of static "8 min read" #108

@tyaga001

Description

@tyaga001

Description:
Currently, all blog posts on DevTools Academy display a static "8 min read" value regardless of the actual content length. This should be calculated dynamically based on each article's word count.

Image

Acceptance criteria:

  • Reading time should be calculated based on the actual content length of each post
  • Use an average reading speed of 150-200 words per minute
  • Round to the nearest minute
  • Display as "X min read" where X is the calculated value
  • Update both the blog listing cards and individual post pages

Additional notes:

  • The calculation could be done at build/render time rather than on each page load
  • Consider adding this data to the post metadata

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions