home.html 308 Bytes
Newer Older
1
2
3
{% extends 'main_website/base.html' %}

{% block content %}
Florent Chehab's avatar
Florent Chehab committed
4
5
6
7
8
9
10
    {% for post in posts %}
        <div>
            <p>publié: {{ post.published_date }}</p>
            <h1><a href="">{{ post.title }}</a></h1>
            <p>{{ post.text|linebreaksbr }}</p>
        </div>
    {% endfor %}
11
12
{% endblock %}