29 lines
717 B
HTML
29 lines
717 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block description %}
|
|
{% match description %}
|
|
{% when Some with (description_content) %}
|
|
{{ description_content }}
|
|
{% when None %}
|
|
A page on {{ settings.site_name }}
|
|
{% endmatch %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if draft == true -%}
|
|
<blockquote>
|
|
⚠️ This page is marked as a <b>draft</b>! It may not yet be complete!
|
|
</blockquote>
|
|
{% endif -%}
|
|
|
|
{% if show_title == true -%}
|
|
<h1>{{ title }}</h1>
|
|
{% endif -%}
|
|
|
|
{% for content_block in content_blocks %}
|
|
{% include "resolve_content.html" %}
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|