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