mirror of
https://github.com/adulau/art.git
synced 2024-12-03 15:37:14 +00:00
Fix bug causing non-HTML pages to be displayed in tiles.
This commit is contained in:
parent
2a58340b3a
commit
49ab386a3d
3 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
_site/
|
||||
.sass-cache/
|
||||
.jekyll-metadata
|
||||
.jekyll-cache
|
||||
Gemfile.lock
|
||||
*.gem
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue