summaryrefslogtreecommitdiff
path: root/_pages
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.work>2018-08-16 01:11:16 +0200
committerPatrick Spek <p.spek@tyil.work>2018-08-16 01:11:16 +0200
commit7701c9b4dbd01034cfbf1bfe8f0d3f0259213511 (patch)
treed8e9b3ab1ef5a5057035684bd14e94ddee097148 /_pages
parent837cff3a8b39c6e5f7ccff00bd84aafb98435362 (diff)
Don't show WIP posts on the index page
Diffstat (limited to '_pages')
-rw-r--r--_pages/index.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/_pages/index.md b/_pages/index.md
index d3181c4..e12e073 100644
--- a/_pages/index.md
+++ b/_pages/index.md
@@ -9,8 +9,10 @@ description: >
software related.
---
-{% for post in site.posts limit:1 %}
-{% assign blogpost = post %}
+{% for post in site.posts %}
+ {% if post.wip %} {% continue %} {% endif %}
+ {% assign blogpost = post %}
+ {% break %}
{% endfor %}
## About me