summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-07 19:30:50 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-07 19:30:50 -0500
commit9d2dbdfe881251c8fb50462f294e670780d813b8 (patch)
treeb0998f1e110656dcb964c58c1a1e441c4afbaf51 /templates
parenta31602c77b0f45da732103a6fffd4543bc452002 (diff)
stuff i like page
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>