{% extends "layouts/reader.njk" %} {% block reader %}

{{ __("microsub.views.deck") }}

Configure columns
{% if columns.length > 0 %}
{% for col in columns %}
{{ col.channel.name }} {% if col.channel.unread %} {% if col.channel.unread !== true %}{{ col.channel.unread }}{% endif %} {% endif %}
{% for item in col.items %} {% include "partials/item-card-compact.njk" %} {% endfor %} {% if col.items.length === 0 %}

No unread items

{% endif %} {% if col.paging and col.paging.after %} View more {% endif %}
{% endfor %}
{% else %}

No columns configured. Add channels to your deck.

Configure deck
{% endif %}
{% endblock %}