]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Demote renamepage hook to a <h3> to fix the ToC
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>
Sun, 3 Aug 2008 21:30:32 +0000 (17:30 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 3 Aug 2008 21:30:32 +0000 (17:30 -0400)
doc/plugins/write.mdwn

index 67f1cf2baabf23a1b8cbe8c03cf428f13f56d3be..b9601ea57828dd16299ff3a5e7c767500f5c5c0c 100644 (file)
@@ -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);