Modifier: read_time

Provide an estimate of the read time in minutes based on a given number of words per minute. Defaults to 200/wpm.

title: A long post
Pretend there are lots of words here...
<h1>{{ title }}</h1>
<p>{{ content | read_time:180 }} min</p>
<h1>A long post</h1>
<p>10 min</p>

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on August 13, 2018