show only few lines of content on first page
bluenex opened this issue · 1 comments
bluenex commented
show only few lines of content on first page
titipata commented
Here is the quick solution for now http://stackoverflow.com/questions/19389451/how-can-i-get-a-post-excerpt-in-jekyll. Simply change {{ post.content }} to {{ post.content | strip_html | truncatewords: 50 }}