footer-block.twig

Same filename in other branches
  1. 10 core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig
<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
  1. <div{{ attributes.addClass('footer-block') }}>
  2. <div class="footer-block__wrapper">
  3. {% block image %}
  4. {% if image %}
  5. <div class="footer-block__media">
  6. {{~ image ~}}
  7. </div>
  8. {% endif %}
  9. {% endblock %}
  10. <div class="footer-block__content">
  11. {% block content %}{% endblock %}
  12. </div>
  13. </div>
  14. </div>

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