Skip to content

Instantly share code, notes, and snippets.

View seanislegend's full-sized avatar
🚀

Sean McEmerson seanislegend

🚀
View GitHub Profile
# Outputs the reading time
# "A 4 minute read"
# Put into your _plugins dir in your Jekyll site
# Usage: A {{ page.content | reading_time }} read
module ReadingTimeFilter
def reading_time( input )
words_per_minute = 180