<span class=“reading-time” title=“Estimated read time”>

{% assign words = page.content | number_of_words %}
{% if words < 280 %}
  1 min
{% else %}
  {{ words | divided_by:140 }} mins
{% endif %}

</span>