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%}
|
{% include post-info.html tags = post.tags date=post.date%}
|
||||||
|
|
||||||
<div class="post-excerpt">
|
<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 }}">
|
<a class="post-see-more" href="{{ post.url | prepend: site.baseurl }}">
|
||||||
<i>See More</i>
|
<i>See More</i>
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
<small>
|
<small>
|
||||||
Tags:
|
Tags:
|
||||||
{% if include.tags.size > 0 %}
|
{% if include.tags.size > 0 %}
|
||||||
{% for tag in include.tags limit: 6%}
|
{% assign tags = include.tags | sort_natural | uniq %}
|
||||||
<i>{{ tag }}</i>
|
{% for tag in tags %}
|
||||||
|
<i>{{ tag | downcase }}</i>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
none
|
none
|
||||||
|
@ -13,7 +14,7 @@
|
||||||
</small>
|
</small>
|
||||||
<td class="post-date" style="text-align:right">
|
<td class="post-date" style="text-align:right">
|
||||||
<small>
|
<small>
|
||||||
<i>{{ include.date | date: "%b %-d, %Y" }}</i>
|
<i>{{ include.date | date: "%b %-d, %Y" }}</i>
|
||||||
</small>
|
</small>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user