banner.twig

Same filename in other branches
  1. 11.x core/profiles/demo_umami/themes/umami/components/banner/banner.twig
<div{{ attributes.addClass('banner') }}>
  <div class="container">
    <div class="banner__inner">
      <div class="banner__image">
        {% block image %}{% endblock %}
      </div>
      <div class="banner__content">
        {% block content %}{% endblock %}
      </div>
    </div>
  </div>
</div>

File

core/profiles/demo_umami/themes/umami/components/banner/banner.twig

View source
  1. <div{{ attributes.addClass('banner') }}>
  2. <div class="container">
  3. <div class="banner__inner">
  4. <div class="banner__image">
  5. {% block image %}{% endblock %}
  6. </div>
  7. <div class="banner__content">
  8. {% block content %}{% endblock %}
  9. </div>
  10. </div>
  11. </div>
  12. </div>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.