tupleblog/tupleblog.github.io

show only few lines of content on first page

bluenex opened this issue · 1 comments

show only few lines of content on first page

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 }}