summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>2009-07-26 06:48:03 -0400
committerJoey Hess <joey@kitenet.net>2009-07-26 06:48:03 -0400
commitd8c5e4ab38f1f02e007965453ae72146b71edd81 (patch)
treefe95be6b58fcd7c8aa5be6499ffb60a6c9d849e5 /doc
parent6f88e3631ef5d29ec5e3fe3af5b35c4e3c0c04bd (diff)
you don't need to copy all the templates, only page.tmpl
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/Add_space_before_slash_in_parent_links.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/Add_space_before_slash_in_parent_links.mdwn b/doc/todo/Add_space_before_slash_in_parent_links.mdwn
index 79044ccc6..536980ea8 100644
--- a/doc/todo/Add_space_before_slash_in_parent_links.mdwn
+++ b/doc/todo/Add_space_before_slash_in_parent_links.mdwn
@@ -72,3 +72,12 @@ It's almost implicit in some of the discussion above but this can be achieved lo
</TMPL_LOOP><TMPL_VAR TITLE></h1>
This is what I do on my site for example. -- [[Jon]]
+
+> You don't actually need to fork the whole directory, "only" `page.tmpl` -
+> put `templatedir => "/foo/templates"` in your setup file, copy `page.tmpl`
+> to that directory, and modify it there. IkiWiki will look in `templatedir`
+> first, then fall back to its default templates if any are missing from
+> `templatedir`.
+>
+> (Admittedly, `page.tmpl` is the hardest to maintain a fork of, because it
+> tends to change whenever a new plugin is added...) --[[smcv]]