changeset 37:915bddd6e7ed

Ignore draft ikiwiki posts in the posts and index pages
author Samuel Hodgkins <samuel.hodgkins@sky.com>
date Tue, 20 Mar 2018 02:36:39 +0000
parents 84e17c0f39c2
children fa31e8f5e59f
files index.mdwn posts.mdwn
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/index.mdwn	Tue Mar 20 02:16:45 2018 +0000
+++ b/index.mdwn	Tue Mar 20 02:36:39 2018 +0000
@@ -6,7 +6,7 @@
 
 Welcome to my wiki, which is mainly a blog-thing.
 
-[[!inline pages="page(./posts/*) and !*/Discussion" show="10"
+[[!inline pages="page(./posts/*) and !*/Discussion and !tagged(draft)" show="10"
 actions=yes rootpage="posts"]]
 
 
--- a/posts.mdwn	Tue Mar 20 02:16:45 2018 +0000
+++ b/posts.mdwn	Tue Mar 20 02:36:39 2018 +0000
@@ -1,3 +1,4 @@
+
 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]]
+[[!inline pages="page(./posts/*) and !*/Discussion and !tagged(draft)" archive=yes feedshow=10 quick=yes trail=yes]]