1 2 3 4 5 6 7 8 9 10 11 12
<section id="news"> <h2>Nyheter</h2> {% for p in site.posts limit: 5 %} {% if p != page %} {% if include.sidebar %} {% include post-excerpt.html post=p sidebar=true %} {% else %} {% include post-excerpt.html post=p %} {% endif %} {% endif %} {% endfor %} </section>