modify some things with blog post handling

This commit is contained in:
2017-12-26 14:54:31 -08:00
parent 0488391dec
commit c4ef015a35
2 changed files with 5 additions and 4 deletions

View File

@ -4,8 +4,9 @@
<small>
Tags:
{% if include.tags.size > 0 %}
{% for tag in include.tags limit: 6%}
<i>{{ tag }}</i>
{% assign tags = include.tags | sort_natural | uniq %}
{% for tag in tags %}
<i>{{ tag | downcase }}</i>
{% endfor %}
{% else %}
none
@ -13,7 +14,7 @@
</small>
<td class="post-date" style="text-align:right">
<small>
<i>{{ include.date | date: "%b %-d, %Y" }}</i>
<i>{{ include.date | date: "%b&nbsp;%-d,&nbsp;%Y" }}</i>
</small>
</td>
</tr>