From: Joey Hess Date: Wed, 21 Apr 2010 23:46:27 +0000 (-0400) Subject: pass pagespec parameters along from match_tagged X-Git-Tag: 3.20100427~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77779dc4a09a9b686935e8e615cf2502f7125bb4;p=ikiwiki.git pass pagespec parameters along from match_tagged --- diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 7a85874f6..62e0cc3b8 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -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