diff --git a/doc/examples/blog/sidebar.mdwn b/doc/examples/blog/sidebar.mdwn index 1d01f0a6c..de0feba9e 100644 --- a/doc/examples/blog/sidebar.mdwn +++ b/doc/examples/blog/sidebar.mdwn @@ -1,9 +1,9 @@ -[[Tags]]: [[!pagestats style="list" pages="./tags/*" among="./posts/*"]] +[[!if test="enabled(calendar)" then=""" +[[!calendar pages="./posts/* and !*/Discussion"]] +"""]] [[Recent Comments|comments]] [[Archives]] -[[!if test="enabled(calendar)" then=""" -[[!calendar pages="./posts/* and !*/Discussion"]] -"""]] +[[Tags]]: [[!pagestats style="list" pages="* and !smileys/*"]]