apostrophe
Version:
Apostrophe is a user-friendly content management system. This core module of Apostrophe provides rich content editing and essential facilities to integrate Apostrophe into your Express project. Apostrophe also includes simple facilities for storing your r
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 %}