Convert existing block structures in twig files to have `<block_name>_block` suffix

Created on 20 May 2025, 17 days ago

Problem/Motivation

Single Directory components do not allow blocks and twig variables to have the same name.

Furthermore, SDC does not make use of `block` areas preferring unstructured html to be passed in slots which are twig variables.

CivicTheme provides blocks for sub-theme's to extend templates which is not utilised within the SDC system. For the purposes of releasing CivicTheme with SDC compatibility we are adding the suffix `_block` to everywhere CivicTheme uses blocks.

Steps to reproduce

Proposed resolution

1. Within the theme, we need to update `templates` that use extend a UI Kit component.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia RichardGaunt Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024