blob: dd1960ea42f73b0ba50b2db0da64e4c1560098a2 (
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' | xml_escape -}}
{%- endunless -%}
|