projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66dc253
)
add tag() pagespec
author
Joey Hess
<joey@gnu.kitenet.net>
Thu, 19 Feb 2009 23:49:30 +0000
(18:49 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Thu, 19 Feb 2009 23:49:30 +0000
(18:49 -0500)
patch from jon
IkiWiki/Plugin/tag.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/tag.pm
b/IkiWiki/Plugin/tag.pm
index d439109104a8fd10dfd8ea329d083b4241c42fd0..48c197748fed95b307d14742463522bd1057f59f 100644
(file)
--- a/
IkiWiki/Plugin/tag.pm
+++ b/
IkiWiki/Plugin/tag.pm
@@
-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