]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/index.mdwn
Exclude working directory from library path (CVE-2016-1238)
[git.ikiwiki.info.git] / doc / examples / blog / index.mdwn
index da95e7660f2c0c1f0a19cd9b110c57cc2bfbc661..7914cd203a43eb6b48665a2d225327c5ade01d2c 100644 (file)
@@ -1,16 +1,11 @@
-[[!template id=note text="""
-
-* [[Tags]]: [[!pagestats style="list" pages="./tags/*" among="./posts/*"]]
-* [[Recent_Comments|comments]]
-* [[Archives]]
-
-[[!calendar pages="./posts/* and !*/Discussion"]]
-
+[[!if test="enabled(sidebar)" then="""
+[[!sidebar]]
+""" else="""
+[[!inline pages=sidebar raw=yes]]
 """]]
 
 """]]
 
-[[!inline pages="./posts/* and !*/Discussion" show="10"
+[[!inline pages="page(./posts/*) and !*/Discussion" show="10"
 actions=yes rootpage="posts"]]
 
 actions=yes rootpage="posts"]]
 
-----
 
 This blog is powered by [ikiwiki](http://ikiwiki.info).
 
 This blog is powered by [ikiwiki](http://ikiwiki.info).