forked from M-Labs/web2019
refactor(page): Renames to layout_css and some cosmetics
This commit is contained in:
parent
0df8ab1fdb
commit
c6f371a874
@ -4,7 +4,7 @@ weight = 1
|
|||||||
template = "page.html"
|
template = "page.html"
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
layoutcss = "col-12 col-md-10 mx-auto"
|
layout_css = "col-12 col-md-10 mx-auto"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
{% div() %}
|
{% div() %}
|
||||||
|
@ -46,9 +46,9 @@
|
|||||||
|
|
||||||
<main class="container">
|
<main class="container">
|
||||||
|
|
||||||
<div class="row pb-5">
|
<div class="row">
|
||||||
|
|
||||||
<div class="{% if page and page.extra and page.extra.layoutcss %}{{ page.extra.layoutcss }}{% else %}col-12{% endif %}">
|
<div class="{% if page and page.extra and page.extra.layout_css %}{{ page.extra.layout_css }}{% else %}col-12{% endif %}">
|
||||||
|
|
||||||
{% block main_content %}
|
{% block main_content %}
|
||||||
|
|
||||||
@ -64,6 +64,8 @@
|
|||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
{% block outside %}{% endblock %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user