wiki template

This commit is contained in:
www
2020-12-27 19:13:18 +00:00
parent 5a29fd2215
commit 40d9fac807

View File

@@ -1,7 +1,14 @@
{% extends "layout.html" %}
{% block content %}<br>
<a href="{{page.editlink}}"> edit </a>
Parent:
{{page.parent.path}}
<a href="{{url_for('wiki.web', path=page.parent.path)}}">Up</a>
{% for p in page.children %}
<a href="{{url_for('wiki.web', path=p.path)}}">{{p.path}}</a>
{% endfor %}
<h2>{{ page.id }}</h2>
{{page.content | safe}}