From 49ab386a3d5852274bccf0c0da3dd5c3e0179d6e Mon Sep 17 00:00:00 2001 From: Andrew Banchich Date: Sun, 12 Jan 2020 20:31:35 -0500 Subject: [PATCH] Fix bug causing non-HTML pages to be displayed in tiles. --- .gitignore | 1 + _includes/header.html | 2 +- _includes/tiles.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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 %}