]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
patch from madduck to fix thinko
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 24 Sep 2007 16:41:29 +0000 (16:41 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 24 Sep 2007 16:41:29 +0000 (16:41 +0000)
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));
                }