add full-width YAML option

This commit is contained in:
Dean Attali 2020-08-23 19:23:14 +00:00
parent 909190a415
commit f65e439025
9 changed files with 16 additions and 18 deletions

View file

@ -4,9 +4,9 @@ layout: base
{% include header.html type="page" %}
<div class="container-md" role="main">
<div class="{% if page.full-width %} container-fluid {% else %} container-md {% endif %}" role="main">
<div class="row">
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
<div class="{% if page.full-width %} col {% else %} col-xl-8 offset-xl-2 col-lg-10 offset-lg-1 {% endif %}">
{{ content }}
{% include comments.html %}
</div>