add tag() pagespec

patch from jon
master
Joey Hess 2009-02-19 18:49:30 -05:00
parent 66dc253437
commit e611d4cdc1
1 changed files with 8 additions and 0 deletions

View File

@ -125,4 +125,12 @@ sub pagetemplate (@) {
} }
} }
package IkiWiki::PageSpec;
sub match_tag ($$;@) {
my $page = shift;
my $glob = shift;
return match_link($page, IkiWiki::Plugin::tag::tagpage($glob));
}
1 1