X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d899301fef12b370ca3469a0c6c5aff547d7990b..766311f45b4351488d7dad519a6471094a58da16:/doc/bugs/wrong_rendering_of_templatebody.mdwn?ds=inline diff --git a/doc/bugs/wrong_rendering_of_templatebody.mdwn b/doc/bugs/wrong_rendering_of_templatebody.mdwn index 6b7750193..1a9377b68 100644 --- a/doc/bugs/wrong_rendering_of_templatebody.mdwn +++ b/doc/bugs/wrong_rendering_of_templatebody.mdwn @@ -18,6 +18,13 @@ of my templates renders as the *rest* of the template page when used, instead of the body part. In other words, it renders exactly the part it should hide (the description) and ignores the body itself (which is inside \[[!templatebody]]). +> With a hint from [[kjs]] on [[templates/discussion]], I was 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 brings back the optimization +> (only for rebuilds). So I think this is [[done]]? (remove that link if +> not) --[[smcv]] + When I manually re-generate the wiki, it suddenly renders right. As soon as the page gets rebuilt automatically after some git push, it renders the wrong way. @@ -50,6 +57,10 @@ page gets rebuilt automatically after some git push, it renders the wrong way. >> the git push output, because rendering the wiki from command line doesn't have this >> problem. >> +>> One more thing, my setup uses the pingee plugin. When doing a git push, it browses to +>> the wiki page using wget with `?do=ping` parameter, and then ikiwiki responds by rebuilding +>> the necessary pages. +>> >> Thanks for the pointers. >> >> --[[fr33domlover]]