Fix warning in index.html

This commit is contained in:
Ian Adam Naval 2021-09-24 20:44:45 -04:00
parent 045fb59dbf
commit 26de796dcd

View File

@ -13,7 +13,7 @@ layout: default
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<div class="post-content-truncate">
{% if post.content contains "<!-- more -->" %}
{{ post.content | split:"<!-- more -->" | first % }}
{{ post.content | split:"<!-- more -->" | first }}
{% else %}
{{ post.content | strip_html | truncatewords:100 }}
{% endif %}