diff --git a/src/assets/css/components/tease.css b/src/assets/css/components/tease.css index 4c9b0c0..cbabab4 100644 --- a/src/assets/css/components/tease.css +++ b/src/assets/css/components/tease.css @@ -75,22 +75,6 @@ } } } - &.tease--test{ - .tease__img{ - &:not(:has(*)){ - background:url( - data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAD9JREFUKFOF0EkKADAMAkD9/6MtKbR0SaLnQUFKEkxIgg4Giq4WLhSDJTxRCV+Uwgx9sEIX7NCGDk0IxE32cwyfdD/mA174iAAAAABJRU5ErkJggg== - ) repeat; - } - } - &:hover{ - .tease__main{ - .tease-main-title{ - @apply text-grey-300; - } - } - } - } } .tease-event{ diff --git a/src/pages/avvisi.twig b/src/pages/avvisi.twig index 86ee050..95481c7 100644 --- a/src/pages/avvisi.twig +++ b/src/pages/avvisi.twig @@ -58,28 +58,7 @@
- {% for post in post_type[~type~].items|slice(0,1) %} - -
- {% if post.featured_image %} - {% include "./picture.twig" with {"image": post.featured_image } %} - {% endif %} -
- -
-
- {% for term in post.terms|slice(0,1) %} - {% set parent_post_term = term[0] %} - {% set post_term = term[1] %} - {{taxonomies[~type~].terms[~parent_post_term~].items[~post_term~].name}} - {% endfor %} - {{post.date|date('d.m.Y')}} -
-

{{post.title}}

-
-
- {% endfor %} - {% for post in post_type[~type~].items|slice(1) %} + {% for post in post_type[~type~].items %} {% include "../layout/partials/tease.twig" with {"post": post } %} {% endfor %}