From 56bbab1bff71829c60579a1e67a9d24db8dad008 Mon Sep 17 00:00:00 2001 From: Emelie Graven Date: Mon, 22 Nov 2021 17:45:51 +0100 Subject: [PATCH] Add static content in index --- templates/index.html | 6 ++++++ templates/page.html | 2 ++ 2 files changed, 8 insertions(+) diff --git a/templates/index.html b/templates/index.html index 44051f2..0a96bc9 100755 --- a/templates/index.html +++ b/templates/index.html @@ -57,6 +57,12 @@
{% endblock header %} + {% block static %} + {% set about_us = get_page(path="static/about.md") %} + {{ about_us.content | safe }} +
+ {% endblock static %} + {% block content %}