Skip to content

Commit ea6c0ad

Browse files
authored
Merge pull request daattali#101 from lbsx/use-post-excerpt
use post.excerpt instead of post.content
2 parents 7bb6db6 + c2534b7 commit ea6c0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h3 class="post-subtitle">
2222
</p>
2323

2424
<div class="post-entry">
25-
{{ post.content | strip_html | xml_escape | truncatewords: 50 }}
25+
{{ post.excerpt | strip_html | xml_escape | truncatewords: 50 }}
2626
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read&nbsp;More]</a>
2727
</div>
2828

0 commit comments

Comments
 (0)