When I upgraded from Jekyll 2.x to 3.x, there were some minor incompatibilities, the most significant is that my code for adding “Read More” links to excepted posts on the index page broke.

I can’t remember why my pervious code used the post.excepted liquid variable as it no longer exists in Jekyll 3.x. Fortunately, Sean has a solution.

The solution compares the word count between the post content and the post except variables, and if they are not equal, the “Read More” link is added.

It’s not significantly slower but at least it works.