mirror of
https://github.com/zyllian/webdog.git
synced 2025-01-17 19:22:21 -08:00
add precontent and postcontent blocks to default site template
This commit is contained in:
parent
e97dd6f18c
commit
0a551c3091
1 changed files with 2 additions and 0 deletions
|
@ -21,9 +21,11 @@
|
|||
|
||||
<body>
|
||||
<h1><a href="/">webdog site</a></h1>
|
||||
{% block precontent %}{% endblock precontent %}
|
||||
<main class="page">
|
||||
{% block content %}{{ page | safe }}{% endblock content %}
|
||||
</main>
|
||||
{% block postcontent %}{% endblock postcontent %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue