]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/index.mdwn
updated branch; this is ready for review for inclusion in IkIWiki
[git.ikiwiki.info.git] / doc / examples / blog / index.mdwn
index a22c40c72049c39eae000c03563f99e60a104780..7914cd203a43eb6b48665a2d225327c5ade01d2c 100644 (file)
@@ -1,6 +1,11 @@
-[[!inline pages="./posts/* and !*/Discussion" show="10"
+[[!if test="enabled(sidebar)" then="""
+[[!sidebar]]
+""" else="""
+[[!inline pages=sidebar raw=yes]]
+"""]]
+
+[[!inline pages="page(./posts/*) and !*/Discussion" show="10"
 actions=yes rootpage="posts"]]
 
-[[!sidebar]]
 
 This blog is powered by [ikiwiki](http://ikiwiki.info).