--- a/src/pyams_default_theme/component/paragraph/templates/raw-default.pt Wed Oct 23 14:51:35 2019 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/raw-default.pt Mon Jun 22 18:30:36 2020 +0200
@@ -1,2 +1,3 @@
-<h3>${view.title}</h3>
+<h3 tal:define="title view.title"
+ tal:condition="title">${title}</h3>
<div>${structure:view.body}</div>
\ No newline at end of file
--- a/src/pyams_default_theme/component/paragraph/templates/raw-markdown.pt Wed Oct 23 14:51:35 2019 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/raw-markdown.pt Mon Jun 22 18:30:36 2020 +0200
@@ -1,4 +1,3 @@
-<h3>${view.title}</h3>
-<tal:var define="settings view.settings">
- ${structure:view.source}
-</tal:var>
+<h3 tal:define="title view.title"
+ tal:condition="title">${title}</h3>
+<div>${structure:view.source}</div>
\ No newline at end of file
--- a/src/pyams_default_theme/component/paragraph/templates/raw-rest.pt Wed Oct 23 14:51:35 2019 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/raw-rest.pt Mon Jun 22 18:30:36 2020 +0200
@@ -1,4 +1,3 @@
-<h3>${view.title}</h3>
-<tal:var define="settings view.settings">
- ${structure:view.source}
-</tal:var>
+<h3 tal:define="title view.title"
+ tal:condition="title">${title}</h3>
+<div>${structure:view.source}</div>
\ No newline at end of file
--- a/src/pyams_default_theme/component/paragraph/templates/raw-source-code.pt Wed Oct 23 14:51:35 2019 +0200
+++ b/src/pyams_default_theme/component/paragraph/templates/raw-source-code.pt Mon Jun 22 18:30:36 2020 +0200
@@ -1,4 +1,5 @@
-<h3>${view.title}</h3>
+<h3 tal:define="title view.title"
+ tal:condition="title">${title}</h3>
<tal:var define="settings view.settings">
<div class="source"
tal:omit-tag="not settings.disable_wrap">
@@ -6,4 +7,4 @@
${structure:view.source}
</pre>
</div>
-</tal:var>
+</tal:var>
\ No newline at end of file