3 changed files with 35 additions and 107 deletions
@ -1,31 +0,0 @@ |
|||||||
{# |
|
||||||
/** |
|
||||||
* @file |
|
||||||
* Olivesbdh'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('olivesbdh/sidebar') }} |
|
||||||
|
|
||||||
{% if content %} |
|
||||||
<aside{{ attributes.addClass(classes) }}> |
|
||||||
{#<button id="toggle-facets">Search the Collection</button>#} |
|
||||||
<div class="facet-wrapper"> |
|
||||||
{{ content }} |
|
||||||
</div> |
|
||||||
</aside> |
|
||||||
{% endif %} |
|
||||||
@ -1,31 +0,0 @@ |
|||||||
{# |
|
||||||
/** |
|
||||||
* @file |
|
||||||
* Olivesbdh'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('olivesbdh/sidebar') }} |
|
||||||
|
|
||||||
{% if content %} |
|
||||||
<aside{{ attributes.addClass(classes) }}> |
|
||||||
{#<button id="toggle-facets">Search the Collection</button>#} |
|
||||||
<div class="facet-wrapper"> |
|
||||||
{{ content }} |
|
||||||
</div> |
|
||||||
</aside> |
|
||||||
{% endif %} |
|
||||||
Loading…
Reference in new issue