1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- layout: default --- <div class="posts"> {% for post in site.posts %} <article class="post"> <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> <div class="entry"> {{ post.content | truncatewords:40}} </div> <!--<a href="{{ post.url }}" class="read-more">Read More</a>--> </article> {% endfor %} </div>