]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Set_templates_for_whole_sections_of_the_site.mdwn
similarity to internal pages
[ikiwiki.git] / doc / todo / Set_templates_for_whole_sections_of_the_site.mdwn
index b9c3973582a2ecf426b8b2cb131332ba0f294a2d..d0c09796f290247ea25007f3a344ea76279a071b 100644 (file)
@@ -15,3 +15,17 @@ I've written a new plugin, sectiontemplate, available in the `page_tmpl` branch
 > 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]] 
+
+>> I started with the pagetemplate plugin, which is why they're so similar.  I guess they could be combined.
+>> I had a brief think about having the specs and templates defined in a directive rather than the config file, but it got tricky.
+>> How do you know what needs to be rebuilt when?  There is probably a solution, maybe even an obvious one, but I thought that getting something done was more important than polishing it.
+>> In the worst case, admins can always use the web interface to change the setup :).
+
+>> I wanted this to put comments on my new blog, and was more interested in that goal than this subgoal.  I've moved most of my web pages to IkiWiki and there is only one small part that is the blog.
+>> I wanted to use [[Disqus comments|tips/Adding_Disqus_to_your_wiki/]], but only on the blog pages.  (I'm using Disqus rather than IkiWiki comments because I don't want to have to deal with spam, security, etc.  I'll happily just let someone else host the comments.) -- [[Will]]
+
+>>> Yes, handing the rebuild is a good reason not to use directives for
+>>> this.
+>>>
+>>> I do still think combining this with pagetemplate would be good.
+>>> --[[Joey]]