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.
 
 
 
 
 
 

24 lines
699 B

{% extends 'base.html.twig' %}
{% block body %}
<div>
{# TODO replace with main index data #}
<h1>{{ index.title }}</h1>
<p>{{ index.slug }}</p>
<div>
<nav>
{# TODO replace this with a loop over the main index #}
{% for cat in nzine.mainCategories %}
<a href="{{ path('nzine_category', {npub: nzine.npub, cat: cat.title}) }}">{{ cat.title }}</a>
{% endfor %}
</nav>
</div>
<br>
<twig:IndexTabs :index="index" />
{% if list is defined %}
<twig:Organisms:CardList :list="list" />
{% endif %}
</div>
{% endblock %}