]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/tag.pm
meta plugin: also collect [[!meta uuid="..."]]
[git.ikiwiki.info.git] / IkiWiki / Plugin / tag.pm
index 276d67e03d4983c32242c6ee682637e0b5897b27..f0e3c223c5523a3c40cb47909099bfc2972e9b76 100644 (file)
@@ -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));
                }