--- a/src/pyams_default_theme/component/paragraph/templates/html-default.pt Fri Jul 03 14:43:20 2020 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/html-default.pt Wed Jul 08 09:54:51 2020 +0200
@@ -2,7 +2,8 @@
position getattr(renderer, 'position', None) if renderer is not None else None;"
switch="position">
<tal:var case="'before-title'">${structure:renderer.render()}</tal:var>
- <h2 tal:condition="view.title and (position != 'before-title')">${view.title}</h2>
+ <h2 tal:define="title view.title"
+ tal:condition="title and (position != 'before-title')">${title}</h2>
<tal:var case="'before-body'">${structure:renderer.render()}</tal:var>
<div>${structure:tales:html(view.body, 'oid_to_href;glossary')}</div>
<tal:var case="'after-body'">${structure:renderer.render()}</tal:var>