{% extends "base.html" %} {% block main %}
{{ object.author }} | {{ object.date_pub }}
{% if request.user.is_staff %} 글 수정
{% csrf_token %}
{% endif %}

{{ object.content|safe }}

{% if object_list and 1 < object_list|length %}

'{{ object.category }}' 관련글

{% for obj in object_list %} {% if obj.password %}[비밀] {% endif %}{{ obj }} {% endfor %}

{% endif %}
{% for tag in object.tags.all %}{% if not forloop.first%} {% endif %}#{{ tag }}{% endfor %}
{% endblock %}