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
27 lines (26 loc) • 1.41 kB
HTML
{
{
<ul class="apos-files-items">
{% for file in item._items %}
{% if ((loop.index0 < options.limit) or (not options.limit)) %}
<li data-slideshow-item class="apos-files-item apos-file-extension-{{ file.extension | e }} {% if loop.first %}apos-first{% endif %} {% if loop.last %}apos-last{% endif %}">
{% if (item.showDescriptions and file.description) or (item.showTitles and file.title) %}
<div class="apos-files-description-container">
{% if item.showTitles and file.title %}<h1 class="apos-files-title">{{ file.title }}</h1>{% endif %}
{% if item.showDescriptions and file.description %}
<div class="apos-files-description">
<p>
{
{{ file.description | e | nlbr }}
</p>
</div>
{% endif %}
</div>
{% endif %}
<i class='icon-docs'></i>
<span class="apos-files-extension">{{ file.extension |e }}</span>
<a href="{{ aposFilePath(file) }}" class="apos-button apos-files-name">{{ __('Download') }} {% if file.title %}{{ file.title | e }}{% else %}{{ file.name | e }}{% endif %}</a>
</li>
{% endif %}
{% endfor %}
</ul>