Add static content in index

This commit is contained in:
Emelie Graven 2021-11-22 17:45:51 +01:00
parent 36c9a4edfd
commit 56bbab1bff
Signed by: emelie
GPG Key ID: C11123726DBB55A1
2 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,12 @@
<hr />
{% endblock header %}
{% block static %}
{% set about_us = get_page(path="static/about.md") %}
{{ about_us.content | safe }}
<hr />
{% endblock static %}
{% block content %}
<ul class="homepage-list">
{% for post in section.pages %}

View File

@ -12,6 +12,8 @@
{%- endif -%}
{%- endblock ogimage %}
{% block static %}
{% endblock static %}
{% block content %}
<article>