Skip to content

Commit

Permalink
VFH-109 | Synced regions in info and template.
Browse files Browse the repository at this point in the history
  • Loading branch information
keeteean committed Feb 21, 2023
1 parent a665f5b commit d0065bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 42 deletions.
1 change: 1 addition & 0 deletions themes/custom/c2d_theme/c2d_theme.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ regions:
header: Header
navigation: Navigation
featured: Featured
help: Help
top: Top
content: Content
bottom: Bottom
Expand Down
24 changes: 3 additions & 21 deletions themes/custom/c2d_theme/templates/layout/page--search.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
{{ page.navigation }}
</header>

{{ page.breadcrumb }}

{{ page.highlighted }}
{{ page.featured }}

{{ page.help }}

Expand All @@ -66,20 +64,7 @@

<div class="layout-content">
{{ page.content }}
</div>{# /.layout-content #}

{% if page.sidebar %}
<aside class="layout-sidebar" role="complementary">
{{ page.sidebar }}
</aside>
{% endif %}

{% if page.sidebar_second %}
<aside class="layout-sidebar-second" role="complementary">
{{ page.sidebar_second }}
</aside>
{% endif %}

</div>
</main>

{{ page.bottom }}
Expand All @@ -89,7 +74,4 @@
{{ page.footer }}
</footer>
{% endif %}

</div>{# /.layout-container #}

{{ page.admin }}
</div>
24 changes: 3 additions & 21 deletions themes/custom/c2d_theme/templates/layout/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
{{ page.navigation }}
</header>

{{ page.breadcrumb }}

{{ page.highlighted }}
{{ page.featured }}

{{ page.help }}

Expand All @@ -63,20 +61,7 @@

<div class="layout-content">
{{ page.content }}
</div>{# /.layout-content #}

{% if page.sidebar %}
<aside class="layout-sidebar" role="complementary">
{{ page.sidebar }}
</aside>
{% endif %}

{% if page.sidebar_second %}
<aside class="layout-sidebar-second" role="complementary">
{{ page.sidebar_second }}
</aside>
{% endif %}

</div>
</main>

{{ page.bottom }}
Expand All @@ -86,7 +71,4 @@
{{ page.footer }}
</footer>
{% endif %}

</div>{# /.layout-container #}

{{ page.admin }}
</div>

0 comments on commit d0065bc

Please sign in to comment.