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
482 B

<div {{ attributes }}>
{% set items = this.lists %}
{% if items is not empty %}
<ul class="list-unstyled small d-grid gap-2">
{% for item in items %}
<li>
<a href="{{ path('reading-list', { slug: item.slug }) }}">{{ item.title }}</a>
<div><small class="text-muted">{{ item.createdAt|date('Y-m-d') }}</small></div>
</li>
{% endfor %}
</ul>
{% else %}
<p><small>No reading lists yet.</small></p>
{% endif %}
</div>