pass pagespec parameters along from match_tagged

master
Joey Hess 2010-04-21 19:46:27 -04:00
parent 673d6c9580
commit 77779dc4a0
1 changed files with 3 additions and 1 deletions

View File

@ -125,7 +125,9 @@ sub pagetemplate (@) {
package IkiWiki::PageSpec;
sub match_tagged ($$;@) {
return match_link($_[0], IkiWiki::Plugin::tag::tagpage($_[1]), linktype => 'tag');
my $page=shift;
my $glob=shift;
return match_link($page, IkiWiki::Plugin::tag::tagpage($glob), linktype => 'tag', @_);
}
1