<div class="post-categories">
{% if post.content %}
  {% assign words = post.content | number_of_words %}
{% else %}
  {% assign words = content | number_of_words %}
{% endif %}

{% if words < 360 %}
    {% assign minutesText = 'Tempo de Leitura: 1 minuto' %}
{% else %}
    {% assign minutesText = words | divided_by:180 | prepend: 'Tempo de Leitura: ' | append: ' minutos' %}
{% endif %}
{{ minutesText }}
</div>
<div class="post-categories">
{% if post.content %}
  {% assign words = post.content | number_of_words %}
{% else %}
  {% assign words = content | number_of_words %}
{% endif %}

{% if words < 360 %}
    {% assign minutesText = '1 minuto de leitura' %}
{% else %}
    {% assign minutesText = words | divided_by:180 | append: ' minutos de leitura' %}
{% endif %}
{{ minutesText }}
</div>
Change minutes to read text
Change minutes to read text
