Newer
Older
pre-www / src / blocks / files-list.twig
{#
 # Blocco lista di file da scaricare
 #}

<div class="block-container block-{{block.key}} {{block.classes}}">
    <div class="block-{{block.key}}__inner">
        {% if block.content.label %}
            <p>{{block.content.label}}</p>
        {% else %}
            <p>Download</p>
        {% endif %}
        <ul>
            {% for file in block.content.items %}
                <li><a href="{{file.url}}">{{file.name}}</a></li>
            {% endfor %}
        </ul>
    </div>
</div>