apostrophe
Version:
Apostrophe is a user-friendly content management system. You'll need more than this core module. See apostrophenow.org to get started.
13 lines (11 loc) • 542 B
HTML
{# options.title can be set to "before" or "after". If not set #}
{# titles are not shown, even if present. Titles are discovered via #}
{# oembed, they come from the hosting service i.e. YouTube #}
{% if options.title and (options.title != 'after') and item.title %}
<h4 class="apos-video-title">{{ item.title | e }}</h4>
{% endif %}
<img class="apos-video-thumbnail"
src="{{ item.thumbnail }}" />
{% if options.title and (options.title == 'after') and item.title %}
<h4 class="apos-video-title">{{ item.title | e }}</h4>
{% endif %}