This commit is contained in:
evilchili
2025-09-28 14:14:30 -07:00
parent 0ce3845a13
commit 8ce642ba90
6 changed files with 105 additions and 26 deletions
+5
View File
@@ -16,6 +16,11 @@
<li><a href="{{ url_for('index') }}">Home</a></li>
</ul>
</nav>
<nav>
<ul>
{% block menu %}{% endblock %}
</ul>
</nav>
<main>
{% for message in get_flashed_messages() %}
+12 -1
View File
@@ -1,6 +1,17 @@
{% extends "base.html" %}
{% block menu %}
{% for child in page.pages %}
<li><a href="/{{page.stub}}/{{ child.stub }}">{{ child.title }}</a></li>
{% endfor %}
{% endblock %}
{% block content %}
<h1>{{ page.title }}</h1>
{{ page.content }}
{{ page.body }}
<pre>
{{ page }}
</pre>
{% endblock %}