Signed-off-by: intrigeri <intrigeri@boum.org>
$url =~ s!/index.$config{htmlext}$!/!;
}
- run_hooks(urlpath => sub {
+ run_hooks(tweakurlpath => sub {
$url=shift->(url => $url);
});
It should return the target filename.
-### urlpath
+### tweakurlpath
- hook(type => "urlpath", id => "foo", call => \&urlpath);
+ hook(type => "tweakurlpath", id => "foo", call => \&tweakurlpath);
This hook can be used to modify the internal urls generated by
ikiwiki; it is run just after ikiwiki has removed the trailing