aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-06-15 13:38:19 -0400
committerJoey Hess <joey@kitenet.net>2010-06-15 13:38:19 -0400
commitd541cc854a6e610d2d9f5f7b950f4abb76e36954 (patch)
tree1ffcc4479d47d88b6337f230014bf150fcf756ab /IkiWiki/Plugin/calendar.pm
parentd3d63817c8ba2066ff942823baafa94b44a4e9af (diff)
downloadikiwiki-d541cc854a6e610d2d9f5f7b950f4abb76e36954.tar
ikiwiki-d541cc854a6e610d2d9f5f7b950f4abb76e36954.tar.gz
calendar: Tune archive_pagespec to only match pages, not other files.
Diffstat (limited to 'IkiWiki/Plugin/calendar.pm')
-rw-r--r--IkiWiki/Plugin/calendar.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm
index 359c9b861..bb995d499 100644
--- a/IkiWiki/Plugin/calendar.pm
+++ b/IkiWiki/Plugin/calendar.pm
@@ -49,7 +49,7 @@ sub getsetup () {
},
archive_pagespec => {
type => "pagespec",
- example => "posts/* and !*/Discussion",
+ example => "page(posts/*) and !*/Discussion",
description => "PageSpec of pages to include in the archives; used by ikiwiki-calendar command",
link => 'ikiwiki/PageSpec',
safe => 1,