From dfe55e8956fdcb8ee11b85b238a7d27f42063746 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 23 Sep 2008 13:39:21 -0400 Subject: Add keepextension parameter to htmlize hook. (Willu) --- doc/plugins/write.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/plugins') 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); -- cgit v1.2.3