]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
calendar: Tune archive_pagespec to only match pages, not other files.
authorJoey Hess <joey@kitenet.net>
Tue, 15 Jun 2010 17:38:19 +0000 (13:38 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 15 Jun 2010 17:38:19 +0000 (13:38 -0400)
IkiWiki/Plugin/calendar.pm
auto-blog.setup
debian/changelog

index 359c9b86141541549a1f42a32fa0ef869ec08987..bb995d49956e27234e5bb9b621c2caa641b93d40 100644 (file)
@@ -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,
index ef03295d68bf5c9c4d3b93c208c17a346be5ad38..980074ec3affe8a7426586166903a1c9884361ed 100644 (file)
@@ -46,7 +46,7 @@ IkiWiki::Setup::Automator->import(
        example => "blog",
        comments_pagespec => "posts/* and !*/Discussion",
        blogspam_pagespec => "postcomment(*)",
-       archive_pagespec => "posts/* and !*/Discussion",
+       archive_pagespec => "page(posts/*) and !*/Discussion",
        global_sidebars => 0,
        discussion => 0,
        locked_pages => "*",
index 32ba0cf082be0a309784665544de232d41ee6ae3..bddedeafaee8109335ba2a148ab819bb6da1aa0b 100644 (file)
@@ -15,6 +15,7 @@ ikiwiki (3.20100611) UNRELEASED; urgency=low
   * websetup: Allow enabling plugins listed in disable_plugins.
   * editpage, comments: Fix broken links in sidebar (due to forcebaseurl).
     (Thanks, privat)
+  * calendar: Tune archive_pagespec to only match pages, not other files.
 
  -- Joey Hess <joeyh@debian.org>  Fri, 11 Jun 2010 13:39:15 -0400