Added base page template
This commit is contained in:
parent
2cb283e2e3
commit
fef2cdcfd0
1 changed files with 9 additions and 0 deletions
9
templates/page.html
Normal file
9
templates/page.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{% extends "_base.html" %}
|
||||||
|
|
||||||
|
{% block page_title %}{{ super() }} | {{ this.title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block main_content %}
|
||||||
|
<div class="center">
|
||||||
|
{{ this.body }}
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue