diff options
author | uvok cheetah | 2019-05-15 21:19:33 +0200 |
---|---|---|
committer | uvok cheetah | 2019-05-15 21:19:33 +0200 |
commit | 1eeef4820dbd312f5e67673ccec745d620b194a3 (patch) | |
tree | 3a582721236af62004bd9853ee3896cf61e11065 /index.html | |
parent | 92411ecbd9f0cbcec5620de2efbefade7254afca (diff) |
Add "unlisted" header to hide posts from listing
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,7 +5,11 @@ layout: default <div class="home"> <ul class="post-list"> - {% for post in site.posts %} + {% for post in site.posts %} + {% if post.unlisted == true %} + {% continue %} + {% endif %} + <li> <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> <h2> |