diff --git a/_includes/tiles.html b/_includes/tiles.html index 6bbd352..675d6bf 100644 --- a/_includes/tiles.html +++ b/_includes/tiles.html @@ -1,5 +1,5 @@
- {% unless site.tiles-source == "pages" %} + {% if site.tiles-source == "pages" %} {% for post in site.posts limit:site.tiles-count %}
@@ -11,5 +11,18 @@
{% endfor %} - {% endunless %} + {% elseif site.tiles-source == "pages" %} + {% for pages in site.pages limit:site.tiles-count %} +
+ + + +
+

{{ page.title }}

+

{{ page.description }}

+
+
+ {% endfor %} + {% else %} + {% endif %}