{% if 'posts' == site.tiles-source %} {% assign tiles = site.posts %} {% elsif 'pages' == site.tiles-source %} {% assign tiles = site.html_pages | where_exp: "item", "item.show_tile != false" %} {% endif %}
{% for tile in tiles limit:site.tiles-count %}

{{ tile.title }}

{{ post.description }}

{% endfor %}