From e160a5df194574ed791113cd63eaf76b173a9fe4 Mon Sep 17 00:00:00 2001 From: Kevin Paxman <kpaxman@uwaterloo.ca> Date: Thu, 27 Jun 2024 14:34:02 -0400 Subject: [PATCH] ISTWCMS-6494: add a class to the block header to make it easier to identify --- templates/blocks/block.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blocks/block.html.twig b/templates/blocks/block.html.twig index fd4fb296..7793c748 100644 --- a/templates/blocks/block.html.twig +++ b/templates/blocks/block.html.twig @@ -45,7 +45,7 @@ {{ title_prefix }} {% if label %} {% if heading_level %} - <{{ heading_level }}{{ title_attributes }}>{{ label }}</{{ heading_level }}> + <{{ heading_level }}{{ title_attributes }} class="block-title">{{ label }}</{{ heading_level }}> {% else %} <h2{{ title_attributes }}>{{ label }}</h2> {% endif %} -- GitLab