]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/meta.pm
hmm
[git.ikiwiki.info.git] / IkiWiki / Plugin / meta.pm
index 9b026fffa3c3c57480643bb424834abb6e50efbc..5bcd658378f37c630fe4b389f7bf25dfc95faeb7 100644 (file)
@@ -13,12 +13,9 @@ my %author;
 my %authorurl;
 
 sub import { #{{{
 my %authorurl;
 
 sub import { #{{{
-       IkiWiki::hook(type => "preprocess", id => "meta", 
-               call => \&preprocess);
-       IkiWiki::hook(type => "filter", id => "meta", 
-               call => \&filter);
-       IkiWiki::hook(type => "pagetemplate", id => "meta", 
-               call => \&pagetemplate);
+       hook(type => "preprocess", id => "meta", call => \&preprocess);
+       hook(type => "filter", id => "meta", call => \&filter);
+       hook(type => "pagetemplate", id => "meta", call => \&pagetemplate);
 } # }}}
 
 sub filter (@) { #{{{
 } # }}}
 
 sub filter (@) { #{{{
@@ -54,7 +51,7 @@ sub preprocess (@) { #{{{
                }
                else {
                        # hidden WikiLink
                }
                else {
                        # hidden WikiLink
-                       push @{$IkiWiki::links{$page}}, $value;
+                       push @{$links{$page}}, $value;
                }
        }
        elsif ($key eq 'title') {
                }
        }
        elsif ($key eq 'title') {