Browse code

Add ce_text.html5 template with modified structure for columned text

Benjamin Roth authored on12/03/2021 15:49:07
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,17 @@
1
+<?php $this->extend('block_searchable'); ?>
2
+
3
+<?php $this->block('content'); ?>
4
+
5
+  <?php if (!$this->addBefore): ?>
6
+    <div class="text"><?= $this->text ?></div>
7
+  <?php endif; ?>
8
+
9
+  <?php if ($this->addImage): ?>
10
+    <?php $this->insert('image', $this->arrData); ?>
11
+  <?php endif; ?>
12
+
13
+  <?php if ($this->addBefore): ?>
14
+    <div class="text"><?= $this->text ?></div>
15
+  <?php endif; ?>
16
+
17
+<?php $this->endblock(); ?>