]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/examples/blog/sidebar.mdwn
match only pages in calendar
[ikiwiki.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]]
 
 
 [[Recent Comments|comments]]
 
 [[Archives]]
 
-[[!if "enabled(calendar)" then="""
-[[!calendar pages="./posts/* and !*/Discussion"]]
-"""]]
+[[Tags]]:
+[[!pagestats style="list" pages="./tags/*" among="./posts/*"]]