{# Titolo #} {% set studyplan_block_title = { "key": "title", "tag": "h2", "classes": "block-title--sm block-title--divider", "content": { "title": "Piano di studi" } } %} {% include '../../../blocks/title.twig' with {'block': studyplan_block_title } %} {# Accordion #} {% set studyplan_block_accordion = { "key": "accordion", "classes": "", "content": { "items": [ { "title": "Primo anno", "inner_blocks": [ { "key": "links-list", "classes": "block-links-list--2cols", "content": { "list": year_1 } } ] }, { "title": "Secondo anno", "inner_blocks": [ { "key": "links-list", "classes": "block-links-list--2cols", "content": { "list": year_2 } } ] }, { "title": "Terzo anno", "inner_blocks": [ { "key": "links-list", "classes": "block-links-list--2cols", "content": { "list": year_3 } } ] }, { "title": "Attività non inserite in uno specifico anno di corso", "inner_blocks": [ { "key": "links-list", "classes": "block-links-list--2cols", "content": { "list": year_alt } } ] } ] } } %} {% include '../../../blocks/accordion.twig' with {'block': studyplan_block_accordion } %}