]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/calendar.pm
disable global sidebars by default
[git.ikiwiki.info.git] / IkiWiki / Plugin / calendar.pm
index ff84bc4409cd1f397980d4eb14b6d478a08cd70d..0f0e9518adf27b0ca3f912622d89b71ea13f5aa6 100644 (file)
@@ -47,6 +47,14 @@ sub getsetup () {
                        safe => 1,
                        rebuild => 1,
                },
+               archive_pagespec => {
+                       type => "pagespec",
+                       example => "posts/* and !*/Discussion",
+                       description => "PageSpec of pages to include in the archives; used by ikiwiki-calendar command",
+                       link => 'ikiwiki/PageSpec',
+                       safe => 1,
+                       rebuild => 0,
+               },
 }
 
 sub is_leap_year (@) {