Work around local debug output breaking background images

This commit is contained in:
benjamin melançon 2018-12-16 11:39:46 -05:00
parent 4530ac2937
commit d62239bebf

View file

@ -72,7 +72,7 @@
#}
<a class="card card-initiative is-blue" href="{{ url }}">
<div class="card-image" style="background-image:url({{ content.field_image }})"></div>
<div class="card-image" style="background-image:url({{ content.field_image|render|striptags|trim }})"></div>
<div class="card-content">
<h3 class="title">{{ label }}</h3>
<p class="subtitle">{{ content.field_summary }}</p>