Remove inappropriate h1 and h2 tags
unfortunately, doing that removalin a massively inappropriate way
This commit is contained in:
parent
ad8fd87fe2
commit
49a9ed8bc1
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue