Commit e9bf788b authored by Victor Zverovich's avatar Victor Zverovich

Add side margins if screen is too wide

parent 4a818ac7
{% extends "!layout.html" %} {% extends "!layout.html" %}
{%- block content %}
{{ navBar() }}
<div class="container">
<div class="row">
{%- block sidebar1 %}{{ bsidebar() }}{% endblock %}
<div class="col-md-8 col-md-offset-2">
{% block body %}{% endblock %}
</div>
{% block sidebar2 %} {# possible location for sidebar #} {% endblock %}
</div>
</div>
{%- endblock %}
{% block footer %} {% block footer %}
{{ super() }} {{ super() }}
<!-- Google Analytics --> <!-- Google Analytics -->
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{%- block sidebar1 %}{{ bsidebar() }}{% endblock %} {%- block sidebar1 %}{{ bsidebar() }}{% endblock %}
<div class="{{ bs_span_prefix }}{{ bs_content_width }}"> <div class="col-md-8 col-md-offset-2 content {{ bs_span_prefix }}{{ bs_content_width }}">
{% block body %}{% endblock %} {% block body %}{% endblock %}
</div> </div>
{% block sidebar2 %} {# possible location for sidebar #} {% endblock %} {% block sidebar2 %} {# possible location for sidebar #} {% endblock %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment