modify some things with blog post handling

master
Andrew Cassidy 6 years ago committed by Andrew Cassidy
parent fd8e29ae48
commit 77caf0c33a

@ -17,7 +17,7 @@ permalink: Blog/
{% include post-info.html tags = post.tags date=post.date%}
<div class="post-excerpt">
{{post.content | markdownify| truncate: char-count}}
{{post.content | markdownify | strip_html | truncate: char-count}}
<a class="post-see-more" href="{{ post.url | prepend: site.baseurl }}">
<i>See&nbsp;More</i>

@ -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>

Loading…
Cancel
Save