2018-01-01 15:52:03 -05:00
|
|
|
{% if page.categories %}
|
|
|
|
{% capture categories %}
|
|
|
|
{% for category in page.categories %}
|
2018-01-01 16:52:29 -05:00
|
|
|
<span class="label label--category">{{ category }}</span>{% if forloop.last == false %},{% endif %}
|
2018-01-01 15:52:03 -05:00
|
|
|
{% endfor %}
|
|
|
|
{% endcapture %}
|
|
|
|
{% elsif page.category %}
|
|
|
|
{% capture categories %}
|
2018-01-01 16:52:29 -05:00
|
|
|
<span class="label label--category">{{ page.category }}</span>
|
2018-01-01 15:52:03 -05:00
|
|
|
{% endcapture %}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-01-03 19:41:34 -05:00
|
|
|
<small class="small post-meta">
|
2018-01-01 15:52:03 -05:00
|
|
|
{{ categories | append: " · " }}<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>
|
2017-01-03 19:41:34 -05:00
|
|
|
</small>
|