summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html4
-rw-r--r--templates/shortcodes/coverimage.html3
2 files changed, 6 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 39475b7..ab80a03 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -15,7 +15,9 @@
<body>
<section class="section">
<div class="container">
- {% block content %} {% endblock %}
+ {% block content %}
+ {{ section.content | safe }}
+ {% endblock %}
</div>
</section>
</body>
diff --git a/templates/shortcodes/coverimage.html b/templates/shortcodes/coverimage.html
new file mode 100644
index 0000000..4349b69
--- /dev/null
+++ b/templates/shortcodes/coverimage.html
@@ -0,0 +1,3 @@
+<div class="coverimage">
+ <img src="{{url | safe}}"/>
+</div>