{% 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 -%}
⚠️ This page is marked as a draft! It may not yet be complete!
{% endif -%} {% if show_title == true -%}

{{ title }}

{% endif -%} {% for content_block in content_blocks %} {% match content_block %} {% when BlockTypes::HR %}
{% when BlockTypes::PARAGRAPH { text } %}

{{ text }}

{% when BlockTypes::MARKDOWN { content } %} {{ content|markdown }} {% when BlockTypes::HTML { content } %} {{ content|safe }} {% when BlockTypes::HEADER { text, size } %} {{text}} {% else %} UNSUPPORTED block type here! {% endmatch %} {% endfor %} {% endblock %}