]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/index.mdwn
I like it, I encourage it to be merged.
[git.ikiwiki.info.git] / doc / examples / blog / index.mdwn
index 062c71f2e68e303e8379456db649720ff34f7c1a..7914cd203a43eb6b48665a2d225327c5ade01d2c 100644 (file)
@@ -1,14 +1,11 @@
-[[!inline pages="./posts/* and !*/Discussion" show="10"
-actions=yes rootpage="posts"]]
-
-[[!sidebar """
-[[Tags]]: [[!pagestats style="list" pages="./tags/*" among="./posts/*"]]
-
-[[Recent Comments|comments]]
+[[!if test="enabled(sidebar)" then="""
+[[!sidebar]]
+""" else="""
+[[!inline pages=sidebar raw=yes]]
+"""]]
 
-[[Archives]]
+[[!inline pages="page(./posts/*) and !*/Discussion" show="10"
+actions=yes rootpage="posts"]]
 
-[[!calendar pages="./posts/* and !*/Discussion"]]
-"""]]
 
 This blog is powered by [ikiwiki](http://ikiwiki.info).