X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c1474d795c521c466dc997f6eb03b9a84eb1f73f..9f9bc5607edd1d9be81459c4a384a53c4ac45df6:/IkiWiki/Plugin/tag.pm diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 276d67e03..f0e3c223c 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -62,6 +62,7 @@ sub preprocess_taglink (@) { #{{{ if (/(.*)\|(.*)/) { my $tag=IkiWiki::linkpage($2); $tags{$params{page}}{$tag}=1; + push @{$links{$params{page}}}, tagpage($tag); return htmllink($params{page}, $params{destpage}, tagpage($tag), linktext => IkiWiki::pagetitle($1)); @@ -69,6 +70,7 @@ sub preprocess_taglink (@) { #{{{ else { my $tag=IkiWiki::linkpage($_); $tags{$params{page}}{$tag}=1; + push @{$links{$params{page}}}, tagpage($tag); return htmllink($params{page}, $params{destpage}, tagpage($tag)); }