From 164d27edb5b174e9954d44006cbcdd4d5daf6c7a Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Fri, 27 Feb 2015 09:23:21 -0400 Subject: Bug: wrong rendering of template --- doc/bugs/wrong_rendering_of_templatebody.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/bugs/wrong_rendering_of_templatebody.mdwn diff --git a/doc/bugs/wrong_rendering_of_templatebody.mdwn b/doc/bugs/wrong_rendering_of_templatebody.mdwn new file mode 100644 index 000000000..91c86d2c6 --- /dev/null +++ b/doc/bugs/wrong_rendering_of_templatebody.mdwn @@ -0,0 +1,22 @@ +I recently moved from Trisquel's version of ikiwiki (from 2013, the same one of +Debian wheezy backports) to the version 5.20141016 which I built from git, by +pulling the tag. One of the new things I have now is the templatebody +directive. + +I started using it in my templates, and I suddenly notice strange behavior: one +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]]). + +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. + +[[This|http://www.rel4tion.org/languages/haskell/]] is the page, and +[[this|http://www.rel4tion.org/templates/wikitag/]] is a template it uses. Right +now the template is rendered on that page exactly like the template page itself. +Both display the description text, and the \[[!templatebody]] content isn't +displayed at all. + +If I debug it myself and find something relevant, I'll update here. + +-- [[fr33domlover]] -- cgit v1.2.3