From f0d29594502eba864cfe75d495dfcee144edeb8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org>
Date: Fri, 30 Aug 2024 18:10:08 +0200
Subject: [PATCH] fix headline anchors

---
 shared/templates/styleguide2/includes/atoms/text/heading.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shared/templates/styleguide2/includes/atoms/text/heading.html b/shared/templates/styleguide2/includes/atoms/text/heading.html
index b2a07bb1..7dadb69f 100644
--- a/shared/templates/styleguide2/includes/atoms/text/heading.html
+++ b/shared/templates/styleguide2/includes/atoms/text/heading.html
@@ -19,6 +19,7 @@
         text-center
       {% endif %}
     "
+    id="{{ self.headline|slugify }}"
   >
     {{ self.headline }}
   </{{ self.tag }}>
-- 
GitLab