summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm.example
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-08 00:50:10 +0200
committerintrigeri <intrigeri@boum.org>2008-10-18 15:49:08 +0200
commitd9b9022c13af3aa6c469df05beaa293fcf33cafc (patch)
tree3b55b1f54c22edb516b948cd4d6e0d27a1e54732 /IkiWiki/Plugin/skeleton.pm.example
parentbd50ba3e8392db13c584b4166783ee4794b20365 (diff)
added hook urlpath
This hook can be used to modify the internal urls generated by ikiwiki. Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin/skeleton.pm.example')
-rw-r--r--IkiWiki/Plugin/skeleton.pm.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example
index af22b3406..ecf2a2407 100644
--- a/IkiWiki/Plugin/skeleton.pm.example
+++ b/IkiWiki/Plugin/skeleton.pm.example
@@ -35,6 +35,7 @@ sub import { #{{{
hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
hook(type => "savestate", id => "skeleton", call => \&savestate);
hook(type => "targetpage", id => "skeleton", call => \&targetpage);
+ hook(type => "urlpath", id => "skeleton", call => \&urlpath);
} # }}}
sub getopt () { #{{{
@@ -209,4 +210,8 @@ sub targetpage () { #{{{
debug("skeleton plugin running in targetpage");
} #}}}
+sub urlpath () { #{{{
+ debug("skeleton plugin running in urlpath");
+} #}}}
+
1