From d0065bc71964291dd22f2571eb5d21665649859b Mon Sep 17 00:00:00 2001 From: Krisztian Pinter Date: Tue, 21 Feb 2023 16:37:41 +0100 Subject: [PATCH] VFH-109 | Synced regions in info and template. --- themes/custom/c2d_theme/c2d_theme.info.yml | 1 + .../templates/layout/page--search.html.twig | 24 +++---------------- .../c2d_theme/templates/layout/page.html.twig | 24 +++---------------- 3 files changed, 7 insertions(+), 42 deletions(-) diff --git a/themes/custom/c2d_theme/c2d_theme.info.yml b/themes/custom/c2d_theme/c2d_theme.info.yml index fadc363b..966837e2 100644 --- a/themes/custom/c2d_theme/c2d_theme.info.yml +++ b/themes/custom/c2d_theme/c2d_theme.info.yml @@ -63,6 +63,7 @@ regions: header: Header navigation: Navigation featured: Featured + help: Help top: Top content: Content bottom: Bottom diff --git a/themes/custom/c2d_theme/templates/layout/page--search.html.twig b/themes/custom/c2d_theme/templates/layout/page--search.html.twig index 18eba50e..e9216e53 100644 --- a/themes/custom/c2d_theme/templates/layout/page--search.html.twig +++ b/themes/custom/c2d_theme/templates/layout/page--search.html.twig @@ -53,9 +53,7 @@ {{ page.navigation }} - {{ page.breadcrumb }} - - {{ page.highlighted }} + {{ page.featured }} {{ page.help }} @@ -66,20 +64,7 @@
{{ page.content }} -
{# /.layout-content #} - - {% if page.sidebar %} - - {% endif %} - - {% if page.sidebar_second %} - - {% endif %} - + {{ page.bottom }} @@ -89,7 +74,4 @@ {{ page.footer }} {% endif %} - -{# /.layout-container #} - -{{ page.admin }} + diff --git a/themes/custom/c2d_theme/templates/layout/page.html.twig b/themes/custom/c2d_theme/templates/layout/page.html.twig index e936aba4..3442ecdb 100644 --- a/themes/custom/c2d_theme/templates/layout/page.html.twig +++ b/themes/custom/c2d_theme/templates/layout/page.html.twig @@ -50,9 +50,7 @@ {{ page.navigation }} - {{ page.breadcrumb }} - - {{ page.highlighted }} + {{ page.featured }} {{ page.help }} @@ -63,20 +61,7 @@
{{ page.content }} -
{# /.layout-content #} - - {% if page.sidebar %} - - {% endif %} - - {% if page.sidebar_second %} - - {% endif %} - + {{ page.bottom }} @@ -86,7 +71,4 @@ {{ page.footer }} {% endif %} - -{# /.layout-container #} - -{{ page.admin }} +