Merge pull request #101 from lbsx/use-post-excerpt

use post.excerpt instead of post.content
This commit is contained in:
Dean Attali 2016-09-15 11:01:40 -07:00 committed by GitHub
commit ea6c0ad834

View File

@ -22,7 +22,7 @@ subtitle: This is where I will tell my friends way too much about me
</p>
<div class="post-entry">
{{ post.content | strip_html | xml_escape | truncatewords: 50 }}
{{ post.excerpt | strip_html | xml_escape | truncatewords: 50 }}
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read&nbsp;More]</a>
</div>