diff --git a/_includes/tiles.html b/_includes/tiles.html
index 3f3d540..5f71127 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.home-tiles-count %}
+ {% for post in site.posts limit:site.tiles-count %}
@@ -13,7 +13,7 @@
{% endfor %}
{% endif %}
{% if site.tiles-source == "pages" %}
- {% for page in site.pages limit:site.home-tiles-count %}
+ {% for page in site.pages limit:site.tiles-count %}