From 03bf0f33ac47b2f5597c39b10d9f26d7fb893d79 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 29 Oct 2017 22:07:12 +0100 Subject: Création d’une template pour les flatpages Django --- templates/flatpages/default.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/flatpages/default.html (limited to 'templates') 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 %} +

{{ flatpage.title }}

+

{{ flatpage.content }}

+{% endblock %} -- cgit v1.2.1