mirror of
https://github.com/adulau/art.git
synced 2024-11-23 02:27:09 +00:00
Merge branch 'bugfix' into 'master'
Fix bug causing non-HTML pages to be displayed in tiles. Closes #22 See merge request andrewbanchich/forty-jekyll-theme!6
This commit is contained in:
commit
da9962859b
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