calendar: Tune archive_pagespec to only match pages, not other files.

master
Joey Hess 2010-06-15 13:38:19 -04:00
parent d3d63817c8
commit d541cc854a
3 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@ sub getsetup () {
}, },
archive_pagespec => { archive_pagespec => {
type => "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", description => "PageSpec of pages to include in the archives; used by ikiwiki-calendar command",
link => 'ikiwiki/PageSpec', link => 'ikiwiki/PageSpec',
safe => 1, safe => 1,

View File

@ -46,7 +46,7 @@ IkiWiki::Setup::Automator->import(
example => "blog", example => "blog",
comments_pagespec => "posts/* and !*/Discussion", comments_pagespec => "posts/* and !*/Discussion",
blogspam_pagespec => "postcomment(*)", blogspam_pagespec => "postcomment(*)",
archive_pagespec => "posts/* and !*/Discussion", archive_pagespec => "page(posts/*) and !*/Discussion",
global_sidebars => 0, global_sidebars => 0,
discussion => 0, discussion => 0,
locked_pages => "*", locked_pages => "*",

1
debian/changelog vendored
View File

@ -15,6 +15,7 @@ ikiwiki (3.20100611) UNRELEASED; urgency=low
* websetup: Allow enabling plugins listed in disable_plugins. * websetup: Allow enabling plugins listed in disable_plugins.
* editpage, comments: Fix broken links in sidebar (due to forcebaseurl). * editpage, comments: Fix broken links in sidebar (due to forcebaseurl).
(Thanks, privat) (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 -- Joey Hess <joeyh@debian.org> Fri, 11 Jun 2010 13:39:15 -0400