{% extends "base.html" %} {% block sidebar %} {% if perms.auth.is_admin %} {% include "admin/components/sidebar.html" %} {% elif perms.auth.is_alumnus %} {% include "alumni/components/sidebar.html" %} {% elif perms.auth.is_student %} {% include "student/components/sidebar.html" %} {% endif %} {% endblock %} {% block content %}

Posts

{% if posts %} {% for post in posts %}
{{post.title}}
{{post.author.name}},

{{post.content}}

{% endfor %} {% else %}

No posts

{% endif %}
{% endblock %}