card.twig

Same filename in other branches
  1. 10 core/profiles/demo_umami/themes/umami/components/card/card.twig
<{{ html_tag|default('article') }}{{ attributes.addClass('umami-card') }}>
  <div class="umami-card__wrapper">
    {% block content %}{% endblock %}
  </div>
</{{ html_tag|default('article') }}>

File

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

View source
  1. <{{ html_tag|default('article') }}{{ attributes.addClass('umami-card') }}>
  2. <div class="umami-card__wrapper">
  3. {% block content %}{% endblock %}
  4. </div>
  5. </{{ html_tag|default('article') }}>

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