Description
The default Lanyon settings shows the full view for posts on the index.html page. I'm attempting to edit the index.html file to show the excerpt for posts, so that only the title, date and first paragraph of each post are displayed.
What do I need to add or modify in index.html to make this work?
I hope someone can help me with this issue. Thanks!
Update: After working on this some more, I found a helpful discussion on Stack Overflow
The solution that yielded the best result was replacing {{ post.content }} in index.html with
{{ post.content | markdownify | strip_html | truncatewords: 50 }}
Using {{ post.excerpt }} did not lead to the correct formatting of each post on the Home page.
Maybe the discussion link and my experimentation will help others using this theme.