{% assign posts = site.log | sort: 'date' | reverse %} {% for post in posts limit: include.limit %} {% endfor %}