Loading templates/BASE/components/00-theme/02-molecules/00-block/_block.twig +2 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,8 @@ {% if attributes.id|default %} {% set heading_id = attributes.id|clean_class|replace({'_': '-'}) ~ '-heading' %} {% else %} {% set heading_id = 'heading-' ~ heading|clean_class|replace({'_': '-'}) ~ '-' ~ ("now"|date("Ydm")) %} {% set heading_markup = heading['#markup'] ?: heading %} {% set heading_id = 'heading-' ~ heading_markup|clean_class|replace({'_': '-'}) ~ '-' ~ ("now"|date("Ydm")) %} {% endif %} {# Always use a descriptive label (block description) for your block Loading Loading
templates/BASE/components/00-theme/02-molecules/00-block/_block.twig +2 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,8 @@ {% if attributes.id|default %} {% set heading_id = attributes.id|clean_class|replace({'_': '-'}) ~ '-heading' %} {% else %} {% set heading_id = 'heading-' ~ heading|clean_class|replace({'_': '-'}) ~ '-' ~ ("now"|date("Ydm")) %} {% set heading_markup = heading['#markup'] ?: heading %} {% set heading_id = 'heading-' ~ heading_markup|clean_class|replace({'_': '-'}) ~ '-' ~ ("now"|date("Ydm")) %} {% endif %} {# Always use a descriptive label (block description) for your block Loading