Initial commit
This commit is contained in:
17
templates/flatpages/show.html
Normal file
17
templates/flatpages/show.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% set page_title = page.title %}
|
||||
{% block content %}
|
||||
{% if page.content %}
|
||||
{{ page.content|markdown }}
|
||||
{% endif %}
|
||||
|
||||
{% if page.subpages %}
|
||||
<hr>
|
||||
<ul>
|
||||
{% for sub in page.subpages %}
|
||||
<li><a href="{{ url_for('flatpages.show', slug=sub.slug) }}">{{ sub.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user