Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Commit

Permalink
Fix Home, All Posts, and 404 pages displaying in tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbanchich committed Sep 9, 2018
1 parent 9ecf46b commit 548b838
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: post
title: 404
show_tile: false
---

Page not found! :(
2 changes: 1 addition & 1 deletion _includes/tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></
{% endif %}
{% endfor %}
{% for page in site.pages limit:site.tiles-count %}
{% if site.tiles-source == 'pages' and page.title != 404 %}
{% if site.tiles-source == 'pages' and page.show_tile != false %}
<article>
<span class="image">
<img src="{{ page.image }}" alt="" />
Expand Down
1 change: 1 addition & 0 deletions all_posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ nav-menu: true
description: null
image: null
author: null
show_tile: false
---

<h1>All posts</h1>
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ landing-title: 'Hi, my name is Forty'
description: null
image: null
author: null
show_tile: false
---

Nullam et orci eu lorem consequat tincidunt vivamus et sagittis libero. Mauris aliquet magna magna sed nunc rhoncus pharetra. Pellentesque condimentum sem. In efficitur ligula tate urna. Maecenas laoreet massa vel lacinia pellentesque lorem ipsum dolor. Nullam et orci eu lorem consequat tincidunt. Vivamus et sagittis libero. Mauris aliquet magna magna sed nunc rhoncus amet pharetra et feugiat tempus.

0 comments on commit 548b838

Please sign in to comment.