{% if include.post.categories %}
<span> {% for category in include.post.categories %} <a href="{{ category | category_url }}">{{ category | capitalize }}</a> {% endfor %} </span>
{% endif %}
{% if include.post.categories %}
<span> {% for category in include.post.categories %} <a href="{{ category | category_url }}">{{ category | capitalize }}</a> {% endfor %} </span>
{% endif %}