codecycler / oc-readingtime-plugin
Calculate reading time for October CMS
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:october-plugin
README
This plugin adds a Twig filter for calculating the reading time for a given text.
Installation
You can easily install this plugin by requiring it as a dependency in your composer project. Just run composer require codecycler/oc-readingtime-plugin
or manually add it to your composer.json
file to install this plugin.
Twig functions
Currently there is only one Twig filter. You can easily calculate the reading time in minutes for a given text in Twig by using the |readingTime
filter.
Contribution
Please feel free to contribute by creating a PR and submitting it to the develop branch.
License
© 2021, Codecycler under GNU GPL v3.
This plugin is sponsored by Codecycler