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