From 94e8ad7c38f3a2efd78e81a2ad74995944a82a8e Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 16 Jan 2012 10:11:27 +0100 Subject: use flatblocks for motd --- sublab_project/templates/base.html | 5 ++--- sublab_project/templates/flatblocks/flatblock.html | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 sublab_project/templates/flatblocks/flatblock.html (limited to 'sublab_project/templates') diff --git a/sublab_project/templates/base.html b/sublab_project/templates/base.html index 41b7d59..8dc99b0 100644 --- a/sublab_project/templates/base.html +++ b/sublab_project/templates/base.html @@ -1,4 +1,5 @@ {% load host_status %} +{% load flatblock_tags %} @@ -102,9 +103,7 @@

- {% block motd %} - sublab website - jetzt mit Django - {% endblock %} + {% flatblock "motd" %}


Webcam im Fenster diff --git a/sublab_project/templates/flatblocks/flatblock.html b/sublab_project/templates/flatblocks/flatblock.html new file mode 100644 index 0000000..c926c4a --- /dev/null +++ b/sublab_project/templates/flatblocks/flatblock.html @@ -0,0 +1 @@ +{{ flatblock.content|safe }} -- cgit v1.2.1