summaryrefslogtreecommitdiff
path: root/sublab_project/templates
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/templates')
-rw-r--r--sublab_project/templates/base.html5
-rw-r--r--sublab_project/templates/flatblocks/flatblock.html1
2 files changed, 3 insertions, 3 deletions
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 %}
<!DOCTYPE HTML>
<html>
<head>
@@ -102,9 +103,7 @@
</div>
<hr>
<p class="status">
- {% block motd %}
- sublab website - jetzt mit <a href="http://djangoproject.com/">Django</a>
- {% endblock %}
+ {% flatblock "motd" %}
</p>
<hr>
<a href="/webcam/" class="img"><img src="{{ STATIC_URL }}img/thumb.rack.webcam.jpg" alt="Webcam im Fenster" class="webcamthumb"></a>
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 }}