eleven-8.x-1.0-beta5/eleven/templates/layout/layout--onecol.html.twig

eleven/templates/layout/layout--onecol.html.twig
{#
/**
 * @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'
  ]
%}
{% if content %}
<h2>one col </h2>
  <div{{ attributes.addClass(classes) }}>
    <div {{ region_attributes.content.addClass('layout__content') }}>
      {{ content.content }}
    </div>
  </div>
{% endif %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc