banner.twig
Same filename in other branches
<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
- <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>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.