diff --git a/data.json b/data.json index 9369057..9e94a37 100644 --- a/data.json +++ b/data.json @@ -4801,6 +4801,10 @@ "url": "#" }, { + "name": "Progettazione architettonica e urbana nella fase emergenziale e post emergenziale", + "url": "#" + }, + { "name": "Teorie e metodi del disegno di architettura", "url": "#" }, diff --git a/src/assets/css/blocks/links-list.css b/src/assets/css/blocks/links-list.css index 0ca2d74..f517898 100644 --- a/src/assets/css/blocks/links-list.css +++ b/src/assets/css/blocks/links-list.css @@ -47,12 +47,13 @@ @screen lg{ columns: 2; gap: calc(var(--grid-gutter)*2); - /* @apply grid grid-cols-2; */ } - &:has(li:only-child){ columns: 1; } + li{ + @apply inline-block w-full; + } } } } \ No newline at end of file diff --git a/src/blocks/cards-grid.twig b/src/blocks/cards-grid.twig index 0159108..bc5ee88 100644 --- a/src/blocks/cards-grid.twig +++ b/src/blocks/cards-grid.twig @@ -8,7 +8,7 @@ {% endif %} {% set card = card|merge(item.attr) %} -
+ {% if card.featured_image != null %}
{% include "../layout/partials/picture.twig" with {"image": card.featured_image } %}
{% endif %} @@ -24,7 +24,7 @@

{{card.title}}

-
+ {% endfor %} diff --git a/src/layout/partials/degree/study-plan.twig b/src/layout/partials/degree/study-plan.twig index 5626004..c969b2b 100644 --- a/src/layout/partials/degree/study-plan.twig +++ b/src/layout/partials/degree/study-plan.twig @@ -1,5 +1,5 @@ {# Titolo #} -{# {% set studyplan_block_title = +{% set studyplan_block_title = { "key": "title", "tag": "h2", @@ -10,7 +10,7 @@ } %} {% include '../../../blocks/title.twig' with {'block': studyplan_block_title } %} - #} + {# Accordion #} {% set studyplan_block_accordion = { diff --git a/src/pages/contatti/strutture-empty-search.twig b/src/pages/contatti/strutture-empty-search.twig index 0185874..f724225 100644 --- a/src/pages/contatti/strutture-empty-search.twig +++ b/src/pages/contatti/strutture-empty-search.twig @@ -12,8 +12,4 @@ -{% endblock %} - -{% block pagination %} - {% include "../../blocks/pagination.twig" with {"not_first_page": true} %} -{% endblock %} +{% endblock %} \ No newline at end of file