hook(type => "preprocess", id => "linkmap", call => \&preprocess);
hook(type => "format", id => "linkmap", call => \&format);
} # }}}
hook(type => "preprocess", id => "linkmap", call => \&preprocess);
hook(type => "format", id => "linkmap", call => \&format);
} # }}}
# Use ikiwiki's function to create the file, this makes sure needed
# subdirs are there and does some sanity checking.
# Use ikiwiki's function to create the file, this makes sure needed
# subdirs are there and does some sanity checking.
- will_render($params{page}, $params{page}.".png");
- writefile($params{page}.".png", $config{destdir}, "");
+ will_render($params{page}, $dest);
+ writefile($dest, $config{destdir}, "");