add YAML options before-content and after-content
This commit is contained in:
parent
d88e0468c2
commit
fcddc9e561
7 changed files with 71 additions and 2 deletions
|
@ -5,5 +5,21 @@ layout: base
|
|||
<div class="intro-header"></div>
|
||||
|
||||
<div role="main" class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}">
|
||||
{% 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue