summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-14 14:44:40 -0400
committerJoey Hess <joey@kitenet.net>2010-07-14 14:44:40 -0400
commitc4cee4cfc56713ceb5ce684b6a72b4b9ef54ebae (patch)
tree28675a0b10a43dc5cf62fd6313ebfe4f6a84f55b /IkiWiki
parentf54c1c5b95423062bd1206fd82b3acf84f1b52d1 (diff)
add 2 more missing getsetup hooks
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/goto.pm1
-rw-r--r--IkiWiki/Plugin/parentlinks.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/goto.pm b/IkiWiki/Plugin/goto.pm
index 669211691..42d2425ca 100644
--- a/IkiWiki/Plugin/goto.pm
+++ b/IkiWiki/Plugin/goto.pm
@@ -7,6 +7,7 @@ use IkiWiki 3.00;
sub import {
hook(type => "cgi", id => 'goto', call => \&cgi);
+ hook(type => "getsetup", id => 'goto', call => \&getsetup);
}
sub getsetup () {
diff --git a/IkiWiki/Plugin/parentlinks.pm b/IkiWiki/Plugin/parentlinks.pm
index 432613ddf..bbd2c5752 100644
--- a/IkiWiki/Plugin/parentlinks.pm
+++ b/IkiWiki/Plugin/parentlinks.pm
@@ -9,6 +9,7 @@ use IkiWiki 3.00;
sub import {
hook(type => "parentlinks", id => "parentlinks", call => \&parentlinks);
hook(type => "pagetemplate", id => "parentlinks", call => \&pagetemplate);
+ hook(type => "getsetup", id => "parentlinks", call => \&getsetup);
}
sub getsetup () {