add YAML options before-content and after-content
This commit is contained in:
@ -21,7 +21,23 @@ common-ext-js:
|
||||
<body>
|
||||
|
||||
<div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %} main-content">
|
||||
{% if page.before-content %}
|
||||
<div class="before-content">
|
||||
{% for file in page.before-content %}
|
||||
{% include {{ file }} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ content }}
|
||||
|
||||
{% if page.after-content %}
|
||||
<div class="after-content">
|
||||
{% for file in page.after-content %}
|
||||
{% include {{ file }} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% include footer-minimal.html %}
|
||||
|
Reference in New Issue
Block a user