Browse code

Update

Benjamin Roth authored on17/03/2023 09:52:56
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,34 @@
1
+<?php //$this->dumpTemplateVars(); ?>
2
+<div class="layout_slider swiper-slide arc_<?= $this->archive->id ?> block<?= $this->class ?>">
3
+    <div id="linkBox_<?php echo $this->id; ?>" class="link--box  style-2 ">
4
+        <?php if ($this->addImage) : ?>
5
+            <div class="box--upper">
6
+                <div class="image--holder" style="height: auto">
7
+                    <?php $this->insert('picture_default', $this->arrData['picture']); ?>
8
+                </div>
9
+            </div>
10
+        <?php endif; ?>
11
+
12
+        <div class="box-lower--wrapper text-start" style="background-color:transparent">
13
+            <div class="box--lower px-0">
14
+                <div class="headline--wrapper">
15
+                    <span class="box--headline"><?= $this->headline ?></span>
16
+                </div>
17
+            </div>
18
+            <div class="box-lower--expand">
19
+                <div class="box--longtext px-0">
20
+                    <?= $this->teaser ?>
21
+                </div>
22
+                <div class="button--wrapper px-0">
23
+                    <a data-aos="animate__fadeInUp" class="d-inline-block btn btn-primary animate__animated animate__fadeInUp" href="<?= $this->link ?>">{{label::MSC:more}}</a>
24
+                </div>
25
+            </div>
26
+        </div>
27
+    </div>
28
+</div>
29
+<?php
30
+// This template is used as a news list template by default, so we only add
31
+// JSON-LD data in case this is a news article without a reader
32
+if (!$this->hasReader) {
33
+    $this->addSchemaOrg($this->getSchemaOrgData());
34
+}