summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2015-01-21 17:00:42 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2015-01-21 17:00:42 +0000
commit8b30b996db21c69bc2c45f7507766724f9d4c1e0 (patch)
tree25fa2c7e22e476a7e1f3eb3b622053779a01dd19
parent6920e76a5249402abb762106e90810b28be4dff1 (diff)
downloadblog-8b30b996db21c69bc2c45f7507766724f9d4c1e0.tar.bz2
Do not include draft posts
-rw-r--r--index.mdwn2
-rw-r--r--posts.mdwn2
2 files changed, 2 insertions, 2 deletions
diff --git a/index.mdwn b/index.mdwn
index 3f99187..3deb4ff 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -4,7 +4,7 @@
[[!inline pages=sidebar raw=yes]]
"""]]
-[[!inline pages="page(./posts/*) and !*/Discussion" show="10"
+[[!inline pages="page(./posts/*) and !*/Discussion and !tagged(draft)" show="10"
actions=yes]]
diff --git a/posts.mdwn b/posts.mdwn
index 4d397b7..4f03384 100644
--- a/posts.mdwn
+++ b/posts.mdwn
@@ -1,4 +1,4 @@
[[!meta title="Index of blog entries"]]
Here is a full list of posts to the [[blog|index]].
-[[!inline pages="page(./posts/*) and !*/Discussion" archive=yes feedshow=10 quick=yes trail=yes rootpage="posts"]]
+[[!inline pages="page(./posts/*) and !*/Discussion and !tagged(draft)" archive=yes feedshow=10 quick=yes trail=yes rootpage="posts"]]