Mercurial > hg > isophonics-drupal-site
view core/themes/stable/templates/layout/layout--onecol.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation to display a one-column layout. * * Available variables: * - content: The content for this layout. * - attributes: HTML attributes for the layout <div>. * * @ingroup themeable */ #} {% set classes = [ 'layout', 'layout--onecol', ] %} {% if content %} <div{{ attributes.addClass(classes) }}> <div {{ region_attributes.content.addClass('layout__region', 'layout__region--content') }}> {{ content.content }} </div> </div> {% endif %}