Skip to content

Commit

Permalink
Merge branch 'bugfix' into 'master'
Browse files Browse the repository at this point in the history
Fix bug causing non-HTML pages to be displayed in tiles.

Closes jekyll#22

See merge request andrewbanchich/forty-jekyll-theme!6
  • Loading branch information
andrewbanchich committed Jan 13, 2020
2 parents 2a58340 + 49ab386 commit da99628
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache
Gemfile.lock
*.gem
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></
</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">
Expand Down

0 comments on commit da99628

Please sign in to comment.