{% extends 'base.html' %} {% load static %} {% block content %}
{% for post in posts %}
{{ post.titre }}
{{ post.created_on.date }} | {{ post.publish }} | Categories : {{ post.categorie }}

{{ post.texte | slice:":250" | safe }}...
{% endfor %}
{% endblock %}