]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/write.mdwn
rename: Hide type field from rename form when renaming attachments.
[ikiwiki.git] / doc / plugins / write.mdwn
index 920fb8797cfa4a1d09e0947e261dc7455f1f89c7..37a6d6f894c56a7af3550126a8a594abfa85aca0 100644 (file)
@@ -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);