Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Time to read article
{% assign minutes = content | number_of_words | divided_by: 180 %}
{% if minutes == 0 %}
{% assign minutes = 1 %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment