aboutsummaryrefslogtreecommitdiff
path: root/templates/flatpages
diff options
context:
space:
mode:
authorAlban Gruin2017-10-31 13:10:18 +0100
committerAlban Gruin2017-10-31 13:10:18 +0100
commit3f610831227e7def4b74651747d5625c9a009311 (patch)
tree55b5deea6f47e6e165aae6580ee0c7ac32a182ec /templates/flatpages
parent55ad46fe32ce8122d884dda4eb498e20e39622ad (diff)
Création d’une flatpage spécifique à la page « à propos »
Ajout d’un processeur de contexte pour afficher la version de CS en bas de page.
Diffstat (limited to 'templates/flatpages')
-rw-r--r--templates/flatpages/about.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/flatpages/about.html b/templates/flatpages/about.html
new file mode 100644
index 0000000..3df7c53
--- /dev/null
+++ b/templates/flatpages/about.html
@@ -0,0 +1,6 @@
+{% extends "flatpages/default.html" %}
+
+{% block body %}
+ <h3>{{ flatpage.title }} &ndash; celcatsanitizer {{ celcatsanitizer_version }}</h3>
+ {{ flatpage.content }}
+{% endblock %}