If less than 10 words on the page it wont show the word count.
{% capture words %}
{{ page.content | number_of_words | minus: 10 }}
{% endcapture %}
{% unless words contains "-" %}
{{ words | plus: 10 | append: " words" }}
{% endunless %}
{% capture words %}
{{ page.content | number_of_words | minus: 10 }}
{% endcapture %}
{% unless words contains "-" %}
{{ words | plus: 10 | divided_by: 180 | append: " minute read" }}
{% endunless %}
TODO: Get it to stop counting front matter
.
Figured out its not counting the front matter, just the liquid.