From: Jon Dowland Date: Sat, 16 May 2009 13:01:12 +0000 (+0100) Subject: document longname parameter X-Git-Tag: 3.13~89^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=335462c05d22defe020941d2d32b2f18e975d80c;p=ikiwiki.git document longname parameter --- diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 28da243d5..d0f6a09e1 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -198,6 +198,9 @@ value, then the id parameter specifies not a filename extension, but a whole filename that can be htmlized. This is useful for files like `Makefile` that have no extension. +If `hook` is passed an optional "longname" parameter, this value is used +when prompting a user to choose a page type on the edit page form. + ### pagetemplate hook(type => "pagetemplate", id => "foo", call => \&pagetemplate);