{% extends "templates/base.html" %} {% block content %} Home Categories Tags {% if edited %}

Blog successfuly updated

{% endif %} {% if user.is_superuser %}
{% csrf_token %} {{ form.as_p }}
{% endif %}

Add a post Generate blog Generate search index

{% if posts|length == 0 %}

Any post available

{% else %} {% for post in posts %} {% with post.id as cur_id %} {% endwith %} {% endfor %} {% endif %}
{{ post.id }}{{ post.title }}{{ post.category.name }}{{ post.creation_date }}{{ post.modification_date }}{{ post.published }}{{ post.front_page }}{{ comments|hash:cur_id|default_if_none:"0" }} comment{{ comments|hash:cur_id|pluralize }}Delete


{% autoescape off %}
{{ navigation_bar }}
{% endautoescape %} {% endblock %}