bolt-extension readtime
A simple twig filter that shows the average read time for a blog post
goodbytes/readtime
A simple twig filter that shows the average read time for a blog post
- Thursday, June 23, 2016
- by goodbytes
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 1 Open issues
- 2 Versions
- 0 % Grown
Read Time filter for Twig in Bolt
A simple filter to show the estimated reading time for a blog post in bolt.
Simply call the readtime filter for content you want to estimate the reading time for., (*1)
The filter accepts two arguments, making it easier to use the plugin in different languages.
The first argument is the singular word to be used (e.g. 1 minute) while the second argument is the plural word (e.g. 2 minutes) to display the reading time in your language., (*2)
{{ record.body | readtime("minute", "minutes") }}
, (*3)
dev-master
9999999-dev
A simple twig filter that shows the average read time for a blog post
Sources
Download
MIT
The Requires
The Development Requires
by
goodbytes
twig
filter
readtime
1.0
1.0.0.0
A simple twig filter that shows the average read time for a blog post
Sources
Download
MIT
The Requires
The Development Requires
by
goodbytes
twig
filter
readtime