26 lines
887 B
HTML
26 lines
887 B
HTML
|
{% extends 'base.html' %}
|
||
|
{% load static %}
|
||
|
{% block content %}
|
||
|
<section>
|
||
|
<h1>Articles</h1>
|
||
|
<div class="flex-card">
|
||
|
{% for rescue in rescues %}
|
||
|
<div class="card">
|
||
|
<div class="inner">
|
||
|
<div class="img-container">
|
||
|
<img src="{% static 'images/sauvetage.png' %}">
|
||
|
</div>
|
||
|
<div class="content">
|
||
|
<p class="date">{{ rescue.date }}</p>
|
||
|
<p class="titre">{{ rescue.name }}</p>
|
||
|
<a class="btn" href="/a/{{ rescue.pk }}/">Voir l'article</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
<a class="btn btn--blue" href="">Charger plus d'articles</a>
|
||
|
</section>
|
||
|
{% include 'quicksearch.html' %}
|
||
|
{% endblock %}
|