aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-09-12 21:42:52 +0200
committerAlban Gruin2017-09-12 21:42:52 +0200
commit5490a366c2acba45cc617a825904ba95eeb6b374 (patch)
tree315cfecea08bcf3cb671ddf28ef7b000016a04b7 /templates
parent5a391f46fafee98b653f9c64219ad17844f7e340 (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 f4b105c..a685031 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<br />
Design inspiré par <a href="https://bestmotherfucking.website/">https://bestmotherfucking.website/</a></p>
</footer>
</body>