{% assign num_categories = page.categories | size %} {% if num_categories != 0 %} {% for c in page.categories %} {{c | replace: '-', ' ' }} {% endfor %} {% endif %} {{ page.title }} {{ page.date | date: "%B %-d, %Y" }} {% if page.author %} • {{ page.author }} {% endif %} {{ content }}