+----
+
+I am trying to override `page.tmpl` by providing `templates/page.tmpl` in my `srcdir`- this works, but now `templates/page.tmpl` is created in my `destdir` as well! Is this expected? --chenz
+
+> Yes. Every file found in the wiki is treated as either a page (passed through the whole
+> rendering pipeline to HTML) or an attachment (copied as-is). --[[smcv]]
+
+Is there a way to avoid this? --chenz
+
+> With the page in your wiki's git repository: not currently.
+> You can define a `templatedir` in your setup file and put your overridden page.tmpl
+> there instead. --s
+
+----
+
+I'm seeing some curious behaviour with `$srcdir/templates/` templates not being found when
+pushing from a remote computer. Touching the relevant file on the server and
+`ikiwiki --setup wiki.setup --refresh -v` sorts it out. I have done `--refresh
+--wrappers` just to be sure the hooks aren't out of date. Anyone knows what
+might be causing this? I'm running a custom branch of ikiwiki master from a
+couple of weeks ago so could be my own doing but my changes are mainly to the
+album and img plugins. --[[kjs]]
+
+> Seems like the issue is rather that the templates aren't found/triggered
+> when the page render is set off by dependencies rather than direct editing
+> of the page. Not the remove local issue mentioned above. --[[kjs]]
+
+>> Thanks, that was the hint I needed to be able to reproduce this bug. It seems
+>> to have been caused by an optimization: please try applying
+>> [commit 5fd863b5](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=5fd863b5b05449669ec56c6798d836e3302386e2)
+>> to your Render.pm. A follow-up commit partially restores the optimization,
+>> only for rebuilds. --[[smcv]]
+
+>>> I've applied both your patches and as far as I can tell it's now working
+>>> as expected. Templates get rendered even if rebuild is triggered by
+>>> comments on another page. --[[kjs]]