Remove inappropriate h1 and h2 tags

unfortunately, doing that removalin a massively inappropriate way
This commit is contained in:
benjamin melançon 2018-11-12 23:35:50 -05:00
parent ad8fd87fe2
commit 49a9ed8bc1

View file

@ -54,8 +54,9 @@
<div class="card-image" style="background-image: url({{ content.field_image|render|striptags|trim }}">
</div>
<div class="card-content">
{{ content.field_title }}
{{ content.field_subtitle }}
{# 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>
</div>
{% endblock %}
</a>