]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/sidebar.mdwn
Improve templates testing. Thanks, smcv
[git.ikiwiki.info.git] / doc / examples / blog / sidebar.mdwn
index 6815b65986cafa226944db13e841565bb9bc9c54..e0895f63f3781f6b2588edb3b66acea984b5f3f2 100644 (file)
@@ -1,7 +1,10 @@
-Example sidebar
+[[!if test="enabled(calendar)" then="""
+[[!calendar pages="page(./posts/*) and !*/Discussion"]]
+"""]]
 
 
-[[Blog|./index]]
-[[Archive|./posts]]
+[[Recent Comments|comments]]
 
 
-Categories:
-[[map pages="./tags/* and !*/Discussion"]]
+[[Archives]]
+
+[[Tags]]:
+[[!pagestats style="list" pages="./tags/*" among="./posts/*"]]