blob: 251509942f08cecdf2a6e64c5892df55085f289e (
plain) (
blame)
1
2
3
4
5
6
7
|
{% capture words %}
{{ content | number_of_words | minus: 180 }}
{% endcapture %}
{% unless words contains '-' %}
{{ words | plus: 150 | divided_by: 150 | append: ' min read' }}
{% endunless %}
|