aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-09-10 12:26:40 +0200
committerAlban Gruin2017-09-10 12:26:40 +0200
commit6eef540f3de6b6b7a81b058f99950da40af00359 (patch)
tree3b52a00451d132af64ca3b9480f5dbad66eaf4f2 /templates
parent965fb737b5ca4f258cc8f9ff1bd52ca1ce18a635 (diff)
Ajout d’une page contact. L’adresse email est brouillée.
Diffstat (limited to 'templates')
-rw-r--r--templates/contact.html9
-rw-r--r--templates/index.html2
2 files changed, 10 insertions, 1 deletions
diff --git a/templates/contact.html b/templates/contact.html
new file mode 100644
index 0000000..1359a16
--- /dev/null
+++ b/templates/contact.html
@@ -0,0 +1,9 @@
+{% extends "index.html" %}
+{% load email %}
+
+{% block title %}Contacter – {% endblock %}
+
+{% block body %}
+ <h3>Contacter</h3>
+ <p>Pour contacter l’administrateur du service, envoyez un mail à l’adresse suivante :<br/>{{ email|format_email }}.</p>
+{% endblock %}
diff --git a/templates/index.html b/templates/index.html
index 366e6f9..6597158 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -23,7 +23,7 @@
{% endblock %}
</div>
<footer>
- <p>(c) 2017 &ndash; Alban Gruin<br />
+ <p>(c) 2017 &ndash; Alban Gruin &ndash; <a href="{% url "contact" %}">contacter</a><br />
Design inspiré par <a href="https://bestmotherfucking.website/">https://bestmotherfucking.website/</a><br />
Les informations affichées sur ce site sont actualisées tout les jours à minuit CET.
</p>