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/ _site/
.sass-cache/ .sass-cache/
.jekyll-metadata .jekyll-metadata
.jekyll-cache
Gemfile.lock Gemfile.lock
*.gem *.gem

View file

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

View file

@ -12,7 +12,7 @@
</article> </article>
{% endif %} {% endif %}
{% endfor %} {% 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 %} {% if site.tiles-source == 'pages' and page.show_tile != false %}
<article> <article>
<span class="image"> <span class="image">