I’m probably putting way to much time into trying to make this blog look exactly like I want it to, but one issue I’ve had was to create the front page of the blog. I do want some of each blog post to be visible to anyone visiting the front page, so that it’s easy to get and idea on what that post is about. At the same time, having each whole post on the front page would be too much, and you’d have to scroll a lot if you’re just trying to get an overview the blog or trying to find something you’re interested in. The answer to this problem is excerpts, and this blog post is going to be about these (and also utilizes them).
What i initially tried to do was use the truncatewords filter in liquid, like so:
{{ post.content | truncatewords: 60 }}