bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.16k stars 112 forks source link

feat: Make reading_time a first class citizen #129

Closed julianrubisch closed 4 years ago

julianrubisch commented 4 years ago

Summary

Provide a reading_time liquid filter (https://www.bridgetownrb.com/docs/liquid/filters)

Motivation

Reading time is nowadays displayed for most blog sites out there. One could argue that this should be made a plugin (maybe?), but according to the "backpack analogy", I was thinking, maybe this could be provided out of the box.

Feel free to close if this is out of scope :-)

jaredcwhite commented 4 years ago

@julianrubisch I'm cool with it if there's a generally agreed-upon standard for measuring words * time. Obviously different people have widely-varying reading speeds, plus different languages will vary as well. If we can take advantage of prior art here, that'd be great.

julianrubisch commented 4 years ago

Most Jekyll plugins allow to configure words per minute. I’ve read 180 and 200 as a reference count