card.twig
Same filename in other branches
<{{ 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
- <{{ html_tag|default('article') }}{{ attributes.addClass('umami-card') }}>
- <div class="umami-card__wrapper">
- {% block content %}{% endblock %}
- </div>
- </{{ html_tag|default('article') }}>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.