diff --git a/config/sync/core.entity_form_display.paragraph.os2loop_documents_highlighted_co.default.yml b/config/sync/core.entity_form_display.paragraph.os2loop_documents_highlighted_co.default.yml index a102ace3a..a2899a218 100644 --- a/config/sync/core.entity_form_display.paragraph.os2loop_documents_highlighted_co.default.yml +++ b/config/sync/core.entity_form_display.paragraph.os2loop_documents_highlighted_co.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_hc_content - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_hc_title - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_title + - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_highlighted_co module: - text @@ -16,7 +17,7 @@ mode: default content: os2loop_documents_hc_content: type: text_textarea - weight: 1 + weight: 2 region: content settings: rows: 5 @@ -30,6 +31,13 @@ content: size: 60 placeholder: '' third_party_settings: { } + os2loop_documents_toc_ignore: + type: boolean_checkbox + weight: 1 + region: content + settings: + display_label: true + third_party_settings: { } hidden: created: true os2loop_documents_hc_title: true diff --git a/config/sync/core.entity_form_display.paragraph.os2loop_documents_step.default.yml b/config/sync/core.entity_form_display.paragraph.os2loop_documents_step.default.yml index 0b113c7ed..76d868304 100644 --- a/config/sync/core.entity_form_display.paragraph.os2loop_documents_step.default.yml +++ b/config/sync/core.entity_form_display.paragraph.os2loop_documents_step.default.yml @@ -19,30 +19,31 @@ mode: default content: os2loop_documents_step_image: type: media_library_widget - weight: 20 + weight: 3 + region: content settings: media_types: { } third_party_settings: { } - region: content os2loop_documents_step_text: - weight: 10 + type: text_textarea + weight: 2 + region: content settings: rows: 5 placeholder: '' third_party_settings: { } - type: text_textarea - region: content os2loop_documents_step_title: + type: string_textfield weight: 0 + region: content settings: size: 60 placeholder: '' third_party_settings: { } - type: string_textfield - region: content os2loop_documents_steps: type: entity_reference_paragraphs - weight: 30 + weight: 4 + region: content settings: title: Step title_plural: Steps @@ -51,7 +52,6 @@ content: form_display_mode: default default_paragraph_type: _none third_party_settings: { } - region: content hidden: created: true status: true diff --git a/config/sync/core.entity_form_display.paragraph.os2loop_documents_step_by_step.default.yml b/config/sync/core.entity_form_display.paragraph.os2loop_documents_step_by_step.default.yml index 5767a2812..a567140dd 100644 --- a/config/sync/core.entity_form_display.paragraph.os2loop_documents_step_by_step.default.yml +++ b/config/sync/core.entity_form_display.paragraph.os2loop_documents_step_by_step.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_description - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_steps - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_title + - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_step_by_step module: - paragraphs @@ -16,15 +17,17 @@ bundle: os2loop_documents_step_by_step mode: default content: os2loop_documents_description: - weight: 10 + type: text_textarea + weight: 2 + region: content settings: rows: 5 placeholder: '' third_party_settings: { } - type: text_textarea - region: content os2loop_documents_steps: - weight: 20 + type: entity_reference_paragraphs + weight: 3 + region: content settings: title: step title_plural: steps @@ -33,16 +36,21 @@ content: form_display_mode: default default_paragraph_type: _none third_party_settings: { } - type: entity_reference_paragraphs - region: content os2loop_documents_title: + type: string_textfield weight: 0 + region: content settings: size: 60 placeholder: '' third_party_settings: { } - type: string_textfield + os2loop_documents_toc_ignore: + type: boolean_checkbox + weight: 1 region: content + settings: + display_label: true + third_party_settings: { } hidden: created: true status: true diff --git a/config/sync/core.entity_form_display.paragraph.os2loop_documents_table.default.yml b/config/sync/core.entity_form_display.paragraph.os2loop_documents_table.default.yml index 6c49e0119..cb4159396 100644 --- a/config/sync/core.entity_form_display.paragraph.os2loop_documents_table.default.yml +++ b/config/sync/core.entity_form_display.paragraph.os2loop_documents_table.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.os2loop_documents_table.os2loop_documents_tbl_cont - field.field.paragraph.os2loop_documents_table.os2loop_documents_tbl_desc - field.field.paragraph.os2loop_documents_table.os2loop_documents_title + - field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_table module: - text @@ -16,7 +17,7 @@ mode: default content: os2loop_documents_tbl_cont: type: text_textarea - weight: 1 + weight: 2 region: content settings: rows: 5 @@ -24,7 +25,7 @@ content: third_party_settings: { } os2loop_documents_tbl_desc: type: string_textarea - weight: 2 + weight: 3 region: content settings: rows: 5 @@ -38,6 +39,13 @@ content: size: 60 placeholder: '' third_party_settings: { } + os2loop_documents_toc_ignore: + type: boolean_checkbox + weight: 1 + region: content + settings: + display_label: true + third_party_settings: { } hidden: created: true status: true diff --git a/config/sync/core.entity_form_display.paragraph.os2loop_documents_text_and_image.default.yml b/config/sync/core.entity_form_display.paragraph.os2loop_documents_text_and_image.default.yml index ea86d1aca..6ed18c364 100644 --- a/config/sync/core.entity_form_display.paragraph.os2loop_documents_text_and_image.default.yml +++ b/config/sync/core.entity_form_display.paragraph.os2loop_documents_text_and_image.default.yml @@ -7,6 +7,7 @@ dependencies: - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_tai_position - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_tai_text - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_title + - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_text_and_image module: - media_library @@ -18,20 +19,20 @@ mode: default content: os2loop_documents_tai_image: type: media_library_widget - weight: 2 + weight: 3 region: content settings: media_types: { } third_party_settings: { } os2loop_documents_tai_position: type: options_select - weight: 3 + weight: 4 region: content settings: { } third_party_settings: { } os2loop_documents_tai_text: type: text_textarea - weight: 1 + weight: 2 region: content settings: rows: 5 @@ -45,6 +46,13 @@ content: size: 60 placeholder: '' third_party_settings: { } + os2loop_documents_toc_ignore: + type: boolean_checkbox + weight: 1 + region: content + settings: + display_label: true + third_party_settings: { } hidden: created: true status: true diff --git a/config/sync/core.entity_view_display.paragraph.os2loop_documents_highlighted_co.default.yml b/config/sync/core.entity_view_display.paragraph.os2loop_documents_highlighted_co.default.yml index 570204495..1d4155a85 100644 --- a/config/sync/core.entity_view_display.paragraph.os2loop_documents_highlighted_co.default.yml +++ b/config/sync/core.entity_view_display.paragraph.os2loop_documents_highlighted_co.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_hc_content - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_hc_title - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_title + - field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_highlighted_co module: - text @@ -34,4 +35,5 @@ hidden: entity_print_view_pdf: true entity_print_view_word_docx: true os2loop_documents_hc_title: true + os2loop_documents_toc_ignore: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.os2loop_documents_step.default.yml b/config/sync/core.entity_view_display.paragraph.os2loop_documents_step.default.yml index f8be851c8..3d7e62efd 100644 --- a/config/sync/core.entity_view_display.paragraph.os2loop_documents_step.default.yml +++ b/config/sync/core.entity_view_display.paragraph.os2loop_documents_step.default.yml @@ -18,36 +18,36 @@ mode: default content: os2loop_documents_step_image: type: entity_reference_entity_view - weight: 30 label: hidden settings: view_mode: default link: false third_party_settings: { } + weight: 30 region: content os2loop_documents_step_text: - weight: 10 + type: text_default label: hidden settings: { } third_party_settings: { } - type: text_default + weight: 10 region: content os2loop_documents_step_title: - weight: 0 + type: string label: hidden settings: link_to_entity: false third_party_settings: { } - type: string + weight: 0 region: content os2loop_documents_steps: type: entity_reference_revisions_entity_view - weight: 20 label: hidden settings: view_mode: default link: '' third_party_settings: { } + weight: 20 region: content hidden: entity_print_view_epub: true diff --git a/config/sync/core.entity_view_display.paragraph.os2loop_documents_step_by_step.default.yml b/config/sync/core.entity_view_display.paragraph.os2loop_documents_step_by_step.default.yml index aa81731bd..e4ac4f8af 100644 --- a/config/sync/core.entity_view_display.paragraph.os2loop_documents_step_by_step.default.yml +++ b/config/sync/core.entity_view_display.paragraph.os2loop_documents_step_by_step.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_description - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_steps - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_title + - field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_step_by_step module: - entity_reference_revisions @@ -43,4 +44,5 @@ hidden: entity_print_view_epub: true entity_print_view_pdf: true entity_print_view_word_docx: true + os2loop_documents_toc_ignore: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.os2loop_documents_table.default.yml b/config/sync/core.entity_view_display.paragraph.os2loop_documents_table.default.yml index 3273c66f7..00a8ebebd 100644 --- a/config/sync/core.entity_view_display.paragraph.os2loop_documents_table.default.yml +++ b/config/sync/core.entity_view_display.paragraph.os2loop_documents_table.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.paragraph.os2loop_documents_table.os2loop_documents_tbl_cont - field.field.paragraph.os2loop_documents_table.os2loop_documents_tbl_desc - field.field.paragraph.os2loop_documents_table.os2loop_documents_title + - field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_table module: - text @@ -40,4 +41,5 @@ hidden: entity_print_view_epub: true entity_print_view_pdf: true entity_print_view_word_docx: true + os2loop_documents_toc_ignore: true search_api_excerpt: true diff --git a/config/sync/core.entity_view_display.paragraph.os2loop_documents_text_and_image.default.yml b/config/sync/core.entity_view_display.paragraph.os2loop_documents_text_and_image.default.yml index 1c3fd8a43..a5147970b 100644 --- a/config/sync/core.entity_view_display.paragraph.os2loop_documents_text_and_image.default.yml +++ b/config/sync/core.entity_view_display.paragraph.os2loop_documents_text_and_image.default.yml @@ -7,6 +7,7 @@ dependencies: - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_tai_position - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_tai_text - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_title + - field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore - paragraphs.paragraphs_type.os2loop_documents_text_and_image module: - text @@ -44,4 +45,5 @@ hidden: entity_print_view_pdf: true entity_print_view_word_docx: true os2loop_documents_tai_position: true + os2loop_documents_toc_ignore: true search_api_excerpt: true diff --git a/config/sync/field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore.yml b/config/sync/field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..a744c16f3 --- /dev/null +++ b/config/sync/field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore.yml @@ -0,0 +1,23 @@ +uuid: 6c889a3d-68ff-4bcc-906e-e8f8fb89f2e0 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.os2loop_documents_toc_ignore + - paragraphs.paragraphs_type.os2loop_documents_highlighted_co +id: paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore +field_name: os2loop_documents_toc_ignore +entity_type: paragraph +bundle: os2loop_documents_highlighted_co +label: 'Ignore in table of contents' +description: '' +required: false +translatable: false +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: Tilsluttet + off_label: Afbrudt +field_type: boolean diff --git a/config/sync/field.field.paragraph.os2loop_documents_step.os2loop_documents_step_title.yml b/config/sync/field.field.paragraph.os2loop_documents_step.os2loop_documents_step_title.yml index 4da18ae1f..c00a7deac 100644 --- a/config/sync/field.field.paragraph.os2loop_documents_step.os2loop_documents_step_title.yml +++ b/config/sync/field.field.paragraph.os2loop_documents_step.os2loop_documents_step_title.yml @@ -1,5 +1,5 @@ uuid: fbaf09a2-3238-4f0e-997f-0f94877ba310 -langcode: da +langcode: en status: true dependencies: config: diff --git a/config/sync/field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore.yml b/config/sync/field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..d40df7d9c --- /dev/null +++ b/config/sync/field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore.yml @@ -0,0 +1,23 @@ +uuid: 15c97493-ebce-4042-b8d9-f164d326c0a9 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.os2loop_documents_toc_ignore + - paragraphs.paragraphs_type.os2loop_documents_step_by_step +id: paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore +field_name: os2loop_documents_toc_ignore +entity_type: paragraph +bundle: os2loop_documents_step_by_step +label: 'Ignore in table of contents' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: Tilsluttet + off_label: Afbrudt +field_type: boolean diff --git a/config/sync/field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore.yml b/config/sync/field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..c3a438fe8 --- /dev/null +++ b/config/sync/field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore.yml @@ -0,0 +1,23 @@ +uuid: 2a1a17d4-d562-4af4-8d25-f7ea6dc2e655 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.os2loop_documents_toc_ignore + - paragraphs.paragraphs_type.os2loop_documents_table +id: paragraph.os2loop_documents_table.os2loop_documents_toc_ignore +field_name: os2loop_documents_toc_ignore +entity_type: paragraph +bundle: os2loop_documents_table +label: 'Ignore in table of contents' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: Tilsluttet + off_label: Afbrudt +field_type: boolean diff --git a/config/sync/field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore.yml b/config/sync/field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..fd1226741 --- /dev/null +++ b/config/sync/field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore.yml @@ -0,0 +1,23 @@ +uuid: 5cc26b92-6ae9-488c-b259-a42f2224efa0 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.os2loop_documents_toc_ignore + - paragraphs.paragraphs_type.os2loop_documents_text_and_image +id: paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore +field_name: os2loop_documents_toc_ignore +entity_type: paragraph +bundle: os2loop_documents_text_and_image +label: 'Ignore in table of contents' +description: '' +required: false +translatable: true +default_value: + - + value: 0 +default_value_callback: '' +settings: + on_label: Tilsluttet + off_label: Afbrudt +field_type: boolean diff --git a/config/sync/field.storage.paragraph.os2loop_documents_toc_ignore.yml b/config/sync/field.storage.paragraph.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..bbd4c1296 --- /dev/null +++ b/config/sync/field.storage.paragraph.os2loop_documents_toc_ignore.yml @@ -0,0 +1,18 @@ +uuid: 650d559c-365e-45ad-bc49-27cc7ea5530d +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.os2loop_documents_toc_ignore +field_name: os2loop_documents_toc_ignore +entity_type: paragraph +type: boolean +settings: { } +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/language/da/field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore.yml b/config/sync/language/da/field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..fcbcb2aea --- /dev/null +++ b/config/sync/language/da/field.field.paragraph.os2loop_documents_highlighted_co.os2loop_documents_toc_ignore.yml @@ -0,0 +1 @@ +label: 'Ignorer i indholdsfortegnelse' diff --git a/config/sync/language/da/field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore.yml b/config/sync/language/da/field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..fcbcb2aea --- /dev/null +++ b/config/sync/language/da/field.field.paragraph.os2loop_documents_step_by_step.os2loop_documents_toc_ignore.yml @@ -0,0 +1 @@ +label: 'Ignorer i indholdsfortegnelse' diff --git a/config/sync/language/da/field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore.yml b/config/sync/language/da/field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..fcbcb2aea --- /dev/null +++ b/config/sync/language/da/field.field.paragraph.os2loop_documents_table.os2loop_documents_toc_ignore.yml @@ -0,0 +1 @@ +label: 'Ignorer i indholdsfortegnelse' diff --git a/config/sync/language/da/field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore.yml b/config/sync/language/da/field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore.yml new file mode 100644 index 000000000..fcbcb2aea --- /dev/null +++ b/config/sync/language/da/field.field.paragraph.os2loop_documents_text_and_image.os2loop_documents_toc_ignore.yml @@ -0,0 +1 @@ +label: 'Ignorer i indholdsfortegnelse' diff --git a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/os2loop_documents_title.html.twig b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/os2loop_documents_title.html.twig new file mode 100644 index 000000000..b77a64447 --- /dev/null +++ b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/os2loop_documents_title.html.twig @@ -0,0 +1,4 @@ +{% if content.os2loop_documents_title is not empty %} + {% set toc_ignore = paragraph.get('os2loop_documents_toc_ignore').value == 1 %} +

{{ content.os2loop_documents_title }}

+{% endif %} diff --git a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-highlighted-co.html.twig b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-highlighted-co.html.twig index 35a142425..e8381bdc3 100644 --- a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-highlighted-co.html.twig +++ b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-highlighted-co.html.twig @@ -59,9 +59,7 @@ paragraph.parent_id.value is an empty array when previewing un-saved content. {% block paragraph %} {{ content.contextual_links }} - {% if content.os2loop_documents_title is not empty %} -

{{ content.os2loop_documents_title }}

- {% endif %} + {% include '@os2loop_theme/content-entities/os2loop_documents_title.html.twig' %} {{ content.os2loop_documents_hc_content }} {% endblock paragraph %} diff --git a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-step-by-step.html.twig b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-step-by-step.html.twig index 620f29a74..fd10c76d0 100644 --- a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-step-by-step.html.twig +++ b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-step-by-step.html.twig @@ -49,7 +49,7 @@ {% block paragraph %} {{ content.contextual_links }} -

{{ content.os2loop_documents_title }}

+ {% include '@os2loop_theme/content-entities/os2loop_documents_title.html.twig' %} {{ content.os2loop_documents_description }}
    {{ content.os2loop_documents_steps }} diff --git a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-table.html.twig b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-table.html.twig index 700641bce..26fd8c74c 100644 --- a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-table.html.twig +++ b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-table.html.twig @@ -49,7 +49,7 @@ {% block content %} {{ content.contextual_links }} -

    {{ content.os2loop_documents_title }}

    + {% include '@os2loop_theme/content-entities/os2loop_documents_title.html.twig' %} {{ content.os2loop_documents_tbl_desc }} {{ content.os2loop_documents_tbl_cont }} {% endblock %} diff --git a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-text-and-image.html.twig b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-text-and-image.html.twig index ff78e2024..e84ea5b97 100644 --- a/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-text-and-image.html.twig +++ b/web/profiles/custom/os2loop/themes/os2loop_theme/templates/content-entities/paragraph--os2loop-documents-text-and-image.html.twig @@ -51,7 +51,7 @@ {% block content %} {{ content.contextual_links }} -

    {{ content.os2loop_documents_title }}

    + {% include '@os2loop_theme/content-entities/os2loop_documents_title.html.twig' %} {% if paragraph.os2loop_documents_tai_position.value is same as('full_below') or paragraph.os2loop_documents_tai_position.value is same as('half_below') %} {{ content.os2loop_documents_tai_text }} {{ content.os2loop_documents_tai_image }}