From f15ca0f808a1feb4aa870c5e445ae65f92b14c96 Mon Sep 17 00:00:00 2001 From: Igor Biki <ibiki@uwaterloo.ca> Date: Thu, 20 May 2021 09:02:24 -0400 Subject: [PATCH] ISTWCMS-4818: Using section_name from content. --- source/_patterns/03-layouts/layout/_layout.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_patterns/03-layouts/layout/_layout.twig b/source/_patterns/03-layouts/layout/_layout.twig index f74f1b51..88e390da 100644 --- a/source/_patterns/03-layouts/layout/_layout.twig +++ b/source/_patterns/03-layouts/layout/_layout.twig @@ -47,7 +47,7 @@ {% if pattern_lab %} {{ section_name }} column {% else %} - {{ content }} + {{ content[section_name] }} {% endif %} </div> -- GitLab