mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Does not rely on Jekyll plugin but uses pure Liquid Included basic CSS Signed-off-by: Misty Stanley-Jones <misty@docker.com>
10 lines
287 B
HTML
10 lines
287 B
HTML
<span class="reading-time" title="Estimated reading time">
|
|
<span class="reading-time-label">Estimated reading time: </span>
|
|
{% assign words = content | number_of_words %}
|
|
{% if words < 360 %}
|
|
1 minute
|
|
{% else %}
|
|
{{ words | divided_by:180 }} minutes
|
|
{% endif %}
|
|
</span>
|