From: Joey Hess Date: Fri, 2 Oct 2009 22:58:07 +0000 (-0400) Subject: consistency with edittemplate? X-Git-Tag: 3.20091009~54 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9673806a6d94b320bf2289dd091175a742bcee26?ds=sidebyside;hp=-c consistency with edittemplate? --- 9673806a6d94b320bf2289dd091175a742bcee26 diff --git a/doc/todo/Set_templates_for_whole_sections_of_the_site.mdwn b/doc/todo/Set_templates_for_whole_sections_of_the_site.mdwn index ed9740068..b9c397358 100644 --- a/doc/todo/Set_templates_for_whole_sections_of_the_site.mdwn +++ b/doc/todo/Set_templates_for_whole_sections_of_the_site.mdwn @@ -8,4 +8,10 @@ I've written a new plugin, sectiontemplate, available in the `page_tmpl` branch > Before I do though, would it perhaps make sense to merge > this in with the pagetemplate plugin? They do such a similar thing, > and unless letting users control the template by editing a page is not -> wanted, I can't see any reason not to combine them. --[[Joey]] +> wanted, I can't see any reason not to combine them. --[[Joey]] + +> One other idea is moving the pagespec from setup file to a directive. +> The edittemplate plugin does that, and it might be nice +> to be consistent with that. To implement it, you'd have to +> make the scan hook store the template pagespecs in `%pagestate`, +> so a bit more complicated. --[[Joey]]