{% assign frontpage_articles = (site.posts | where: "frontpage" , "true") -%} {% for page in frontpage_articles limit:10 -%} {% include post-list-article.html -%} {% endfor -%}