{#
/**
 * @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 \Drupal\Core\Theme\ThemePreprocess::preprocessRegion()
 */
#}
{%
  set classes = [
    'region',
    'region--' ~ region|clean_class,
  ]
%}

{{ attach_library('olivero/sidebar') }}

{% if content %}
  <aside{{ attributes.addClass(classes) }}>
    {{ content }}
  </aside>
{% endif %}
