WIP
This commit is contained in:
@@ -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() %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user