mirror of
https://github.com/getpelican/pelican.git
synced 2026-06-05 08:37:05 +02:00
Add page_content block for better template inheritance
This commit is contained in:
parent
c495634138
commit
862ac78310
1 changed files with 1 additions and 1 deletions
2
pelican/themes/simple/templates/page.html
vendored
2
pelican/themes/simple/templates/page.html
vendored
|
|
@ -20,7 +20,7 @@
|
|||
{% import 'translations.html' as translations with context %}
|
||||
{{ translations.translations_for(page) }}
|
||||
|
||||
{{ page.content }}
|
||||
{% block page_content %}{{ page.content }}{% endblock page_content %}
|
||||
|
||||
{% if page.modified %}
|
||||
<footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue