diff --git a/.gitignore b/.gitignore
index b249d9b..18ea5fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
_site/
.sass-cache/
.jekyll-metadata
+.jekyll-cache
Gemfile.lock
*.gem
diff --git a/_includes/header.html b/_includes/header.html
index 662c589..2086968 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -17,7 +17,7 @@
{{ page.title }}
{% endif %}
{% endfor %}
- {% for page in site.pages %}
+ {% for page in site.html_pages %}
{% if page.layout != "home" and page.nav-menu == true %}
{{ page.title }}
{% endif %}
diff --git a/_includes/tiles.html b/_includes/tiles.html
index b118414..39a8d7a 100644
--- a/_includes/tiles.html
+++ b/_includes/tiles.html
@@ -12,7 +12,7 @@
{% endif %}
{% endfor %}
- {% for page in site.pages limit:site.tiles-count %}
+ {% for page in site.html_pages limit:site.tiles-count %}
{% if site.tiles-source == 'pages' and page.show_tile != false %}