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 class="card-image" style="background-image: url({{ content.field_image|render|striptags|trim }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
{{ content.field_title }}
|
{# TODO something othar than this awful hack of stripping away h1, h2 #}
|
||||||
{{ content.field_subtitle }}
|
<h3 class="title">{{ content.field_title|render|striptags|trim }}</h3>
|
||||||
|
<p class="subtitle">{{ content.field_subtitle|render|striptags|trim }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue