Merge pull request #63 from lrdodge/feature/bug-html-in-post-excerpts

Change order of post excerpt processing
This commit is contained in:
Dean Attali 2016-06-20 00:10:01 -07:00 committed by GitHub
commit 15765089d9

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 | truncatewords: 50 | strip_html | xml_escape}}
{{ post.content | strip_html | xml_escape | truncatewords: 50 }}
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read&nbsp;More]</a>
</div>