Add content class to card content

... although there shouldn't be any links happening in here.
This commit is contained in:
benjamin melançon 2018-12-08 22:22:19 -05:00
parent 3892739c88
commit 4689769cc6

View file

@ -53,7 +53,7 @@
{% block content %}
<div class="card-image" style="background-image: url({{ content.field_image|render|striptags|trim }}">
</div>
<div class="card-content">
<div class="card-content content">
{# TODO something othar than this awful hack of stripping away h1, h2 #}
<h3 class="title">{{ content.field_title|render|striptags|trim }}</h3>
<p class="subtitle">{{ content.field_subtitle|render|striptags|trim }}</p>