{% 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

{{post.title}}
{{post.author.name}},

{{post.content}}

Comments

{{ comments.count }} comments

{% for comment in comments %}

{{ comment.posted_by }} {{ comment.time_posted }}

{{ comment.content | linebreaks }}
{% endfor %}

Leave a comment

{{ comment_form.content }} {% csrf_token %}
{% endblock %}