{% extends "main.html" %} {% block content %} {% if entries %} {% for entry in entries.object_list %}

{{ entry.title }}

{{ entry.category }}

{{ entry.foreword|safe|linebreaks }}

{{ entry.body|safe|linebreaks }}

Por {{ entry.author }}  |  en: {{ entry.date|date:"D d M Y"}}  |  {{ entry.ncomments }} Comentarios, Comentar...
{% endfor %}
{% if entries.has_other_pages %} {% if entries.has_previous %} Página anterior  |  {% endif %} {% if entries.has_next %} Página siguiente {% endif %}

{% endif %}
{% else %}

no entries

{% endif %} {% endblock content %} {% block sidebar %} {% if sidebars %} {% for sidebar in sidebars %}
  • {{ sidebar.title }}

    {{ sidebar.body|safe }}
  • {% endfor %} {% endif %} {% endblock sidebar %}