{% extends "base.html" %} {% block content %} {% autoescape off %}

{{blogentry.header}}

posted by {{blogentry.user.username}} on {{blogentry.date}}

{{blogentry.intro|linebreaks}}
{{blogentry.body|linebreaks}}

{% endautoescape %} {% if not isfrontpage %} Comments total: {{newsentry.newscomment_set.all.count}}
{% for newscomment in newsentry.newscomment_set.all %}

{{newscomment.user.username}}
{{ newscomment.commenttext|linebreaks|urlize }}
Datum: {{newscomment.date}}
{% endfor %} {% if commentform %} {% else %} {% endif %}
{{user.username}}
{% csrf_token %} {{ commentform.newscomment }}
Please log in to post.
{% endif %}
{% endblock %}