modify some things with blog post handling
This commit is contained in:
parent
0488391dec
commit
c4ef015a35
|
@ -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 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 %-d, %Y" }}</i>
|
||||
</small>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue
Block a user