mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
I don't think the read-time is adding much value on short pages. The reader is likely able to make a better estimation how long it would take to read. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
5 lines
185 B
HTML
5 lines
185 B
HTML
{%- assign words = content | number_of_words -%}
|
|
{%- if words >= 360 -%}
|
|
<p><em class="reading-time">Estimated reading time: {{ words | divided_by:180 }} minutes</em></p>
|
|
{%- endif -%}
|