X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d63e043f0abf642ff4048cc20c6caf03db3e55fb..bcc209eb5acd26e3751c5869cd5c1ebe66b0bf03:/doc/examples/blog/sidebar.mdwn diff --git a/doc/examples/blog/sidebar.mdwn b/doc/examples/blog/sidebar.mdwn index f24a8e57a..e0895f63f 100644 --- a/doc/examples/blog/sidebar.mdwn +++ b/doc/examples/blog/sidebar.mdwn @@ -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/*"]]