Fix Home, All Posts, and 404 pages displaying in tiles

This commit is contained in:
Andrew Banchich 2018-09-09 16:53:34 +00:00
parent 9ecf46b951
commit 548b8385f2
4 changed files with 4 additions and 1 deletions

1
404.md
View file

@ -1,6 +1,7 @@
---
layout: post
title: 404
show_tile: false
---
Page not found! :(

View file

@ -13,7 +13,7 @@
{% 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="" />

View file

@ -6,6 +6,7 @@ nav-menu: true
description: null
image: null
author: null
show_tile: false
---
<h1>All posts</h1>

View file

@ -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.