footer-block.twig
Same filename in other branches
<div{{ attributes.addClass('footer-block') }}> <div class="footer-block__wrapper"> {% block image %} {% if image %} <div class="footer-block__media"> {{~ image ~}} </div> {% endif %} {% endblock %} <div class="footer-block__content"> {% block content %}{% endblock %} </div> </div> </div>
File
-
core/
profiles/ demo_umami/ themes/ umami/ components/ footer-block/ footer-block.twig
View source
- <div{{ attributes.addClass('footer-block') }}>
- <div class="footer-block__wrapper">
- {% block image %}
- {% if image %}
- <div class="footer-block__media">
- {{~ image ~}}
- </div>
- {% endif %}
- {% endblock %}
- <div class="footer-block__content">
- {% block content %}{% endblock %}
- </div>
- </div>
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.