This commit is contained in:
evilchili
2025-10-04 01:26:09 -07:00
parent 120449386a
commit c9927656ce
8 changed files with 222 additions and 95 deletions
+2 -2
View File
@@ -12,8 +12,8 @@
</head>
<body>
<nav>
{% for uri, stub in breadcrumbs %}
<span>&nbsp; / <a href="{{ app.config.VIEW_URI }}{{ uri }}">{{ stub }}</a></span>
{% for uri, name in breadcrumbs %}
<span>&nbsp; / <a href="{{ app.config.VIEW_URI }}{{ uri }}">{{ name }}</a></span>
{% endfor %}
</nav>
<nav>
+21
View File
@@ -0,0 +1,21 @@
{% extends "base.html" %}
{% block menu %}
{% for child in page.pages %}
<li><a href="{{ app.config['VIEW_URI'] }}/{{ child.uri }}">{{ child.title }}</a></li>
{% endfor %}
{% endblock %}
{% block content %}
<h1>Create: {{ page.title }}</h1>
<h2>{{ page.uri }}</h2>
{{ page.body }}
<pre>
{{ page }}
</pre>
<pre>
{{ app.web.config }}
</pre>
{% endblock %}
+2 -2
View File
@@ -1,8 +1,8 @@
{% extends "base.html" %}
{% block menu %}
{% for child in page.pages %}
<li><a href="{{ app.config.VIEW_URI }}{{ child.uri }}">{{ child.title }}</a></li>
{% for member in page.members %}
<li><a href="{{ app.config.VIEW_URI }}{{ member.uri }}">{{ member.name }}</a></li>
{% endfor %}
{% endblock %}
{% block content %}