diff options
author | http://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web> | 2008-08-03 17:30:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-08-03 17:30:32 -0400 |
commit | ca5f64c4ef85dc0e5187f80f3f108b623ac01470 (patch) | |
tree | 704beeabcb2d3205b192424a7d513b0795c26f1f /doc/plugins | |
parent | 39195de96e6f705e4a5741254d6d01d14127005c (diff) | |
download | ikiwiki-ca5f64c4ef85dc0e5187f80f3f108b623ac01470.tar ikiwiki-ca5f64c4ef85dc0e5187f80f3f108b623ac01470.tar.gz |
Demote renamepage hook to a <h3> to fix the ToC
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/write.mdwn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 67f1cf2ba..b9601ea57 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -192,6 +192,7 @@ return the htmlized content. 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 @@ -356,7 +357,7 @@ 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. -## renamepage +### renamepage hook(type => "renamepage", id => "foo", call => \&renamepage); |