wiki template
This commit is contained in:
@@ -1,7 +1,14 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block content %}<br>
|
{% block content %}<br>
|
||||||
<a href="{{page.editlink}}"> edit </a>
|
<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>
|
<h2>{{ page.id }}</h2>
|
||||||
{{page.content | safe}}
|
{{page.content | safe}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user