]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/index.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / examples / blog / index.mdwn
index a22c40c72049c39eae000c03563f99e60a104780..220c1b3e320c915bdb530a1f23a84631d76964c5 100644 (file)
@@ -1,6 +1,11 @@
+[[!if test="enabled(sidebar)" then="""
+[[!sidebar]]
+""" else="""
+[[!inline pages=sidebar raw=yes]]
+"""]]
+
 [[!inline pages="./posts/* and !*/Discussion" show="10"
 actions=yes rootpage="posts"]]
 
 [[!inline pages="./posts/* and !*/Discussion" show="10"
 actions=yes rootpage="posts"]]
 
-[[!sidebar]]
 
 This blog is powered by [ikiwiki](http://ikiwiki.info).
 
 This blog is powered by [ikiwiki](http://ikiwiki.info).