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.
 
 
 
 
 
 

16 lines
627 B

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