add 2 more missing getsetup hooks

master
Joey Hess 2010-07-14 14:44:40 -04:00
parent f54c1c5b95
commit c4cee4cfc5
2 changed files with 2 additions and 0 deletions

View File

@ -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 () {

View File

@ -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 () {