aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorfr33domlover <fr33domlover@web>2015-02-27 09:23:21 -0400
committeradmin <admin@branchable.com>2015-02-27 09:23:21 -0400
commit164d27edb5b174e9954d44006cbcdd4d5daf6c7a (patch)
tree103ea3fbbab069225b2b0314054b60c3d3d2c797 /doc
parent2cb0bb432daa612d928de543e74927755094450d (diff)
downloadikiwiki-164d27edb5b174e9954d44006cbcdd4d5daf6c7a.tar
ikiwiki-164d27edb5b174e9954d44006cbcdd4d5daf6c7a.tar.gz
Bug: wrong rendering of template
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/wrong_rendering_of_templatebody.mdwn22
1 files changed, 22 insertions, 0 deletions
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]]