clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
685 B

<div {{ attributes }}>
{% set items = this.lists %}
{% if items is not empty %}
{% for item in items %}
<section class="d-flex gap-3 center">
<h1><a href="{{ path('reading-list', { slug: item.slug, pubkey: item.pubkey }) }}">{{ item.title }}</a></h1>
<p>by <twig:Molecules:UserFromNpub :ident="item.pubkey" /></p>
<small class="text-muted">{{ item.createdAt|date('Y-m-d') }}</small>
{% if item.summary is defined and item.summary %}
<p class="eyebrow">{{ item.summary }}</p>
{% endif %}
</section>
{% endfor %}
{% else %}
<p><small>No reading lists yet.</small></p>
{% endif %}
</div>