提交 a7f645a6 编写于 作者: C codecalm

no-container param

上级 76b70d2a
......@@ -2,6 +2,8 @@
layout: base
---
{% assign no-container = page.no-container | default: layout.no-container %}
<div class="page">
{% if page.layout-sidebar %}
{% include layout/sidebar.html dark=page.layout-sidebar-dark right=page.layout-sidebar-right transparent=page.layout-navbar-transparent breakpoint="lg" %}
......@@ -16,11 +18,15 @@ layout: base
{% if page.layout-content-full %}
{{ content }}
{% else %}
{% unless no-container %}
<div class="container{% if page.layout-fluid %}-fluid{% else %}-xl{% endif %}{% if page.container-centered %} d-flex flex-column justify-content-center{% endif %}">
{% endunless %}
{% include layout/page-header.html %}
{{ content }}
{% unless no-container %}
</div>
{% endunless %}
{% include layout/footer.html %}
{% endif %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册