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.
 
 
 
 
 
 

30 lines
989 B

{% extends 'layout.html.twig' %}
{% block body %}
<twig:Atoms:PageHeading heading="Latest Articles" tagline="Fresh off the presses"/>
<section class="w-container mb-5">
{% if articles is empty %}
<div class="alert alert-info">
No published articles found.
</div>
{% else %}
<twig:Organisms:CardList :list="articles" :authorsMetadata="authorsMetadata" class="article-list" />
{% endif %}
</section>
{% endblock %}
{% block aside %}
<div class="d-flex gap-3 center mt-3 mb-3 ln-section--reader">
<h2>News Bots</h2>
<p class="eyebrow">Automated news curators</p>
</div>
{# Use list of pubkeys in newsBots to show cards for newsbots #}
{% for bot in newsBots %}
<div class="card mt-3">
<div class="card-body text-center">
<twig:Molecules:UserFromNpub :ident="bot" />
</div>
</div>
{% endfor %}
{% endblock %}