diff options
author | intrigeri <intrigeri@boum.org> | 2008-10-20 14:33:19 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-10-20 14:33:19 +0200 |
commit | fadb26bc1507f7fc2caaa873ad32c12f75c378aa (patch) | |
tree | 7ee389c28208e236cc4da4c3c51dbe9eae9234f0 /doc/plugins/write.mdwn | |
parent | 654adc105e008b57aa5b9700d7aece2a0f7b0682 (diff) | |
parent | 4a958e0c1e1d3f49c665c5d4aa89214ecbd61bdd (diff) | |
download | ikiwiki-fadb26bc1507f7fc2caaa873ad32c12f75c378aa.tar ikiwiki-fadb26bc1507f7fc2caaa873ad32c12f75c378aa.tar.gz |
Merge commit 'origin/master' into prv/po
Diffstat (limited to 'doc/plugins/write.mdwn')
-rw-r--r-- | doc/plugins/write.mdwn | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 884c7eefb..857d176d5 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -196,7 +196,6 @@ generating the page. hook(type => "pagetemplate", id => "foo", call => \&pagetemplate); - [[Templates|wikitemplates]] are filled out for many different things in ikiwiki, like generating a page, or part of a blog page, or an rss feed, or a cgi. This hook allows modifying the variables available on those @@ -361,6 +360,13 @@ This hook is called whenever ikiwiki normally saves its state, just before the state is saved. The function can save other state, modify values before they're saved, etc. +### displaytime + + hook(type => "displaytime", id => "foo", call => \&display); + +This hook can be registered to override the regular `displaytime` function. +Only the last displaytime hook will be used. + ### renamepage hook(type => "renamepage", id => "foo", call => \&renamepage); |