]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/examples/blog/sidebar.mdwn
Hide trails when printing a page
[git.ikiwiki.info.git] / doc / examples / blog / sidebar.mdwn
index a9fac388ea953f6f973dedde8e247e31c441721c..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/*"]]