diff options
-rw-r--r-- | _drafts/test.md | 7 | ||||
-rw-r--r-- | index.html | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/_drafts/test.md b/_drafts/test.md new file mode 100644 index 0000000..24a3a93 --- /dev/null +++ b/_drafts/test.md @@ -0,0 +1,7 @@ +--- +title: Trying out unlisted posts +layout: post +unlisted: true +--- + +This is me trying out "private" posts... @@ -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> |