27 Feb 2016

This article will take less than 1 minute to read.
No comments

It is nice to use instead of on your Jekyll home page, but then users can’t see if there is more to read until they open the whole post.

To add Read more link, you can use this simple snippet.

{% if post.excerpt != post.content %}
    <a href="{{ site.baseurl }}{{ post.url }}">Read more</a>
{% endif %}
Category
Jekyll

No comments, be the first to comment

Sending failed, please try again.
Thank you! Your comment is sent. Please note that all of the comments go through moderation.