summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-03 17:50:22 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-03 17:50:22 -0400
commit3baa1742f326bd0324a47b56bd39e96ebf625619 (patch)
tree4f821551580e60e33eb0c6559fd63493d2b8b490 /doc
parent1bf35bd2e74a5464a249cc1b724f484dee841fa3 (diff)
parentca5f64c4ef85dc0e5187f80f3f108b623ac01470 (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/write.mdwn3
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);