You've already forked wp-fedistream
28 lines
960 B
Twig
28 lines
960 B
Twig
|
|
{# Playlist archive template #}
|
||
|
|
<div class="fedistream-archive fedistream-archive--playlists">
|
||
|
|
<header class="fedistream-archive__header">
|
||
|
|
<h1 class="fedistream-archive__title">{{ __('Playlists', 'wp-fedistream') }}</h1>
|
||
|
|
{% if archive_description %}
|
||
|
|
<div class="fedistream-archive__description">{{ archive_description }}</div>
|
||
|
|
{% endif %}
|
||
|
|
</header>
|
||
|
|
|
||
|
|
{% if posts is not empty %}
|
||
|
|
<div class="fedistream-grid fedistream-grid--playlists">
|
||
|
|
{% for post in posts %}
|
||
|
|
{% include 'partials/card-playlist.twig' with { post: post } %}
|
||
|
|
{% endfor %}
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{% if pagination %}
|
||
|
|
<nav class="fedistream-pagination">
|
||
|
|
{{ pagination|raw }}
|
||
|
|
</nav>
|
||
|
|
{% endif %}
|
||
|
|
{% else %}
|
||
|
|
<div class="fedistream-empty">
|
||
|
|
<p>{{ __('No playlists found.', 'wp-fedistream') }}</p>
|
||
|
|
</div>
|
||
|
|
{% endif %}
|
||
|
|
</div>
|