look for templates in srcdir and underlays, first
authorJoey Hess <joey@kitenet.net>
Thu, 22 Apr 2010 19:34:32 +0000 (15:34 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 22 Apr 2010 19:55:58 +0000 (15:55 -0400)
commitabd233931247ef38f1b084afd5906619f02c13b6
tree6156798eeefd40ba3b83857112b2b09c57172797
parent23d62f42bd8fe18087cd293962a79d937cf5a3bc
look for templates in srcdir and underlays, first

This entailed changing template_params; it no longer takes the template
filename as its first parameter.

Add template_depends to api and replace calls to template() with
template_depends() in appropriate places, where a dependency should be
added on the template.

Other plugins don't use template(), so will need further work.

Also, includes are disabled for security. Enabling includes only when using
templates from the templatedir would be nice, but would add a lot of
complexity to the implementation.
IkiWiki.pm
IkiWiki/Plugin/comments.pm
IkiWiki/Plugin/editpage.pm
IkiWiki/Plugin/google.pm
IkiWiki/Plugin/inline.pm
IkiWiki/Plugin/search.pm
IkiWiki/Render.pm
doc/plugins/write.mdwn