{% extends 'master.twig' %} {% from 'macros.twig' import news_post %} {% block content %}
Categories
{% for category in categories %} {{ category.category_name }} {% endfor %}
News
{% if posts is defined and posts|length > 0 %} {% for post in posts %} {{ news_post(post, true, true, true) }} {% endfor %}

Pick a category from the sidebar to view more!

{% else %}

There are no news posts!

{% endif %}
{% endblock %}