Add content class to card content
... although there shouldn't be any links happening in here.
This commit is contained in:
parent
3892739c88
commit
4689769cc6
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="card-image" style="background-image: url({{ content.field_image|render|striptags|trim }}">
|
<div class="card-image" style="background-image: url({{ content.field_image|render|striptags|trim }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content content">
|
||||||
{# TODO something othar than this awful hack of stripping away h1, h2 #}
|
{# TODO something othar than this awful hack of stripping away h1, h2 #}
|
||||||
<h3 class="title">{{ content.field_title|render|striptags|trim }}</h3>
|
<h3 class="title">{{ content.field_title|render|striptags|trim }}</h3>
|
||||||
<p class="subtitle">{{ content.field_subtitle|render|striptags|trim }}</p>
|
<p class="subtitle">{{ content.field_subtitle|render|striptags|trim }}</p>
|
||||||
|
|
Loading…
Reference in a new issue