Allow statements on regular pages (fixes #34)

This commit is contained in:
daudix
2024-07-19 21:31:56 +03:00
parent f72225103f
commit f1ca685eaa
4 changed files with 35 additions and 42 deletions

View File

@ -1,14 +1,6 @@
{% extends "base.html" %}
{% block content %}
{%- if page.extra.archive %}
<div class="statement-container archive">
<strong class="big">
<i class="icon"></i>
{{- macros_translate::translate(key="archived", default="Archived", language_strings=language_strings) -}}
</strong>
{{ page.extra.archive | markdown | safe }}
</div>
{%- endif %}
{%- include "partials/statements.html" -%}
{{ page.content | safe }}
{% endblock content %}