match only pages in calendar
authorJoey Hess <joey@kitenet.net>
Tue, 15 Jun 2010 18:17:23 +0000 (14:17 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 15 Jun 2010 18:17:23 +0000 (14:17 -0400)
doc/examples/blog/sidebar.mdwn

index 5c1f177233cc17c78bf910b8fb89e11953eeb946..e0895f63f3781f6b2588edb3b66acea984b5f3f2 100644 (file)
@@ -1,5 +1,5 @@
 [[!if test="enabled(calendar)" then="""
-[[!calendar pages="./posts/* and !*/Discussion"]]
+[[!calendar pages="page(./posts/*) and !*/Discussion"]]
 """]]
 
 [[Recent Comments|comments]]