css rorschach theme

This commit is contained in:
2023-06-18 20:42:25 +02:00
parent 0e6de56e3e
commit 71b72cb231
26 changed files with 406 additions and 205 deletions
@@ -31,7 +31,7 @@
*/
#}
<div class="layout-container">
<div class="layout-container grid-full">
@@ -52,6 +52,20 @@
{{ page.content }}
</div>{# /.layout-content #}
{# {% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">
{{ page.sidebar_first }}
</aside>
{% endif %}
{% if page.sidebar_second %}
<aside class="layout-sidebar-second" role="complementary">
{{ page.sidebar_second }}
</aside>
{% endif %} #}
</main>
<aside role="book navigation">
{% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">
{{ page.sidebar_first }}
@@ -63,8 +77,10 @@
{{ page.sidebar_second }}
</aside>
{% endif %}
</main>
<div class="book-navigation">
{{ page.sidebar }}
</div>
</aside>
<footer role="contentinfo">
{{ page.footer_top }}
@@ -0,0 +1,28 @@
{#
/**
* @file
* Olivero's theme override to display the sidebar region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region <div>.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{%
set classes = [
'region',
'region--' ~ region|clean_class,
]
%}
{# {{ attach_library('olivero/sidebar') }} #}
{% if content %}
<aside{{ attributes.addClass(classes) }}>
{{ content }}
</aside>
{% endif %}