goodbytes/readtime
Composer 安装命令:
composer require goodbytes/readtime
包简介
A simple twig filter that shows the average read time for a blog post
关键字:
README 文档
README
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.
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.
{{ record.body | readtime("minute", "minutes") }}
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-23