use post.excerpt instead of post.content

This commit is contained in:
Liu Binsheng 2016-09-16 00:41:31 +08:00
parent 7bb6db67d9
commit c2534b71ec

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>