use first 100 words for excerpt

This commit is contained in:
Paul Gauthier 2024-02-11 06:16:21 -08:00
parent 69c32c2903
commit ac22c314d1

View file

@ -9,7 +9,7 @@ layout: default
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<div class="entry">
{{ post.excerpt }}
{{ post.content | strip_html | truncatewords: 100 }}...
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>