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 /> <hr />
{% endblock header %} {% endblock header %}
{% block static %}
{% set about_us = get_page(path="static/about.md") %}
{{ about_us.content | safe }}
<hr />
{% endblock static %}
{% block content %} {% block content %}
<ul class="homepage-list"> <ul class="homepage-list">
{% for post in section.pages %} {% for post in section.pages %}

View file

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