Fix warning in index.html
This commit is contained in:
parent
045fb59dbf
commit
26de796dcd
@ -13,7 +13,7 @@ layout: default
|
|||||||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
||||||
<div class="post-content-truncate">
|
<div class="post-content-truncate">
|
||||||
{% if post.content contains "<!-- more -->" %}
|
{% if post.content contains "<!-- more -->" %}
|
||||||
{{ post.content | split:"<!-- more -->" | first % }}
|
{{ post.content | split:"<!-- more -->" | first }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ post.content | strip_html | truncatewords:100 }}
|
{{ post.content | strip_html | truncatewords:100 }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user