May 16, 2018
Twig reminds me of liquid, but it’s more difficult to understand. It took me a while to find an example of how to do this, so I’m not losing it!
<div class="ai1ec-posterboard-image" style="background-image: url({{ event.avatar_url | e( 'html_attr' ) }});"> </div>
Alternatively, is it as an image source link:
<img src="{{ event.avatar_url | e( 'html_attr' ) }}" />
Sourced here.