diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-23 13:39:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-23 13:39:21 -0400 |
commit | dfe55e8956fdcb8ee11b85b238a7d27f42063746 (patch) | |
tree | c82c0a2f05f719a7401b40eb4d49daede7d9ed17 /doc/plugins | |
parent | 9cbcda14aca677008a7e2fe70463deda5cbdf34b (diff) |
Add keepextension parameter to htmlize hook. (Willu)
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/write.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 920fb8797..37a6d6f89 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -188,6 +188,10 @@ languages to ikiwiki. The function is passed named parameters: "page" and "content" and should return the htmlized content. +If `hook` is passed an optional "keepextension" parameter, set to a true +value, then this extension will not be stripped from the source filename when +generating the page. + ### pagetemplate hook(type => "pagetemplate", id => "foo", call => \&pagetemplate); |