aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-10-29 22:07:12 +0100
committerAlban Gruin2017-10-29 22:07:12 +0100
commit03bf0f33ac47b2f5597c39b10d9f26d7fb893d79 (patch)
tree9a00bb1077efff469536723e473c501ce98b0f1a /templates
parent5082e2aa0083a1c78cd39e86cb141786c2ab6efe (diff)
Création d’une template pour les flatpages Django
Diffstat (limited to 'templates')
-rw-r--r--templates/flatpages/default.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/flatpages/default.html b/templates/flatpages/default.html
new file mode 100644
index 0000000..42f67db
--- /dev/null
+++ b/templates/flatpages/default.html
@@ -0,0 +1,8 @@
+{% extends "index.html" %}
+
+{% block title %}{{ flatpage.title }} – {% endblock %}
+
+{% block body %}
+ <h3>{{ flatpage.title }}</h3>
+ <p>{{ flatpage.content }}</p>
+{% endblock %}