X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4bbbd77a48f9c3188c97637d4d4b0d503fc1738e..72c8f01b36c841b0e83a2ad7ad1365b9116075c5:/doc/examples/blog/sidebar.mdwn?ds=sidebyside diff --git a/doc/examples/blog/sidebar.mdwn b/doc/examples/blog/sidebar.mdwn index 1d01f0a6c..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 test="enabled(calendar)" then=""" -[[!calendar pages="./posts/* and !*/Discussion"]] -"""]] +[[Tags]]: +[[!pagestats style="list" pages="./tags/*" among="./posts/*"]]