]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/sidebar.mdwn
Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in 3.20101231.
[git.ikiwiki.info.git] / doc / examples / blog / sidebar.mdwn
index f24a8e57a3bcfdc16f02d402a93029616d86bb3c..e0895f63f3781f6b2588edb3b66acea984b5f3f2 100644 (file)
@@ -1,9 +1,10 @@
-[[Tags]]: [[!pagestats style="list" pages="./tags/*" among="./posts/*"]]
+[[!if test="enabled(calendar)" then="""
+[[!calendar pages="page(./posts/*) and !*/Discussion"]]
+"""]]
 
 [[Recent Comments|comments]]
 
 [[Archives]]
 
-[[!if "enabled(calendar)" then="""
-[[!calendar pages="./posts/* and !*/Discussion"]]
-"""]]
+[[Tags]]:
+[[!pagestats style="list" pages="./tags/*" among="./posts/*"]]