| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,14 @@ |
| 1 |
+{% block content %}
|
|
| 2 |
+ {% set category = archive.title %}
|
|
| 3 |
+ {% set date = date|date("d.m.y") %}
|
|
| 4 |
+ {% set hasAttachment = enclosure is not empty %}
|
|
| 5 |
+ |
|
| 6 |
+ <winzer-card |
|
| 7 |
+ category="{{ category }}"
|
|
| 8 |
+ date="{{ date }}"
|
|
| 9 |
+ title="{{ newsHeadline }}"
|
|
| 10 |
+ text="{{ teaser|striptags }}"
|
|
| 11 |
+ {% if hasAttachment %}hasAttachment{% endif %}
|
|
| 12 |
+ > |
|
| 13 |
+ </winzer-card> |
|
| 14 |
+{% endblock %}
|