diff options
author | Alban Gruin | 2017-10-29 22:07:12 +0100 |
---|---|---|
committer | Alban Gruin | 2017-10-29 22:07:12 +0100 |
commit | 03bf0f33ac47b2f5597c39b10d9f26d7fb893d79 (patch) | |
tree | 9a00bb1077efff469536723e473c501ce98b0f1a /templates/flatpages/default.html | |
parent | 5082e2aa0083a1c78cd39e86cb141786c2ab6efe (diff) |
Création d’une template pour les flatpages Django
Diffstat (limited to 'templates/flatpages/default.html')
-rw-r--r-- | templates/flatpages/default.html | 8 |
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 %} |