Fix bug causing non-HTML pages to be displayed in tiles.

This commit is contained in:
Andrew Banchich 2020-01-12 20:31:35 -05:00
parent 2a58340b3a
commit 49ab386a3d
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache
Gemfile.lock
*.gem

View file

@ -17,7 +17,7 @@
<li><a href="{{ "" | absolute_url }}/">{{ page.title }}</a></li>
{% endif %}
{% endfor %}
{% for page in site.pages %}
{% for page in site.html_pages %}
{% if page.layout != "home" and page.nav-menu == true %}
<li><a href="{{ page.url | absolute_url }}">{{ page.title }}</a></li>
{% endif %}

View file

@ -12,7 +12,7 @@
</article>
{% 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 %}
<article>
<span class="image">