{% block head %}{% endblock %}
{% if user.is_authenticated %}
{{ request.user.username }}
{% ifnotequal user.role.name "普通学生" %}
后台管理
{% endifnotequal %}
注销登陆
{% else %}
登陆
{% endif %}
{% if user.is_authenticated %}
后退
后台主页
前台主页
关于
{% else %}
主页
关于
{% endif %}
{% include "sidebar.html" %}
{% block content %}{% endblock %}
{% include "footer.html" %}