read_time Modifier

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>{{ $title }}</h1>
<p>{{ Statamic::modify($content)->readTime(180) }} min</p>
<h1>A long post</h1>
<p>10 min</p>
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →