diff options
author | intrigeri <intrigeri@boum.org> | 2008-10-05 04:05:24 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-10-18 15:49:07 +0200 |
commit | fc299df955879bf958aa78338ba64d56a7df17a9 (patch) | |
tree | 173a3d016d392020bc3e92690545d619cc74839b /doc/plugins/write.mdwn | |
parent | 219cb94841518ba938d5761c5d613a7aadb9c47c (diff) | |
download | ikiwiki-fc299df955879bf958aa78338ba64d56a7df17a9.tar ikiwiki-fc299df955879bf958aa78338ba64d56a7df17a9.tar.gz |
added the targetpage hook
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'doc/plugins/write.mdwn')
-rw-r--r-- | doc/plugins/write.mdwn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index daf70c8e2..6d2622272 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -428,6 +428,15 @@ describes the plugin as a whole. For example: and undef if a rebuild could be needed in some circumstances, but is not strictly required. +### targetpage + + hook(type => "targetpage", id => "foo", call => \&targetpage); + +This hook can be used to override the name of the file a page should +be compiled into. + +It should return the target filename. + ## Plugin interface To import the ikiwiki plugin interface: |