diff --git a/_includes/tiles.html b/_includes/tiles.html index 65b04bc..4fd6113 100644 --- a/_includes/tiles.html +++ b/_includes/tiles.html @@ -1,6 +1,6 @@
- {% if site.tiles-source == 'posts' %} {% for post in site.posts limit:site.tiles-count %} + {% if site.tiles-source == 'posts' %}
@@ -10,10 +10,10 @@

{{ post.description }}

- {% endfor %} {% endif %} - {% if site.tiles-source == 'pages' %} + {% endfor %} {% for page in site.pages limit:site.tiles-count %} + {% if site.tiles-source == 'pages' %}
@@ -23,6 +23,6 @@

{{ page.description }}

- {% endfor %} {% endif %} + {% endfor %}