Moved the main content wrapper

This commit is contained in:
Oliver Davies 2015-05-28 18:01:03 +01:00
parent 66148bb245
commit 24f8844f4d
2 changed files with 25 additions and 21 deletions

View file

@ -27,11 +27,11 @@
<div class="container">
<div class="row">
<div class="col-md-10">
{% block content_wrapper %}
<div class="col-md-10">
{% block content %}{% endblock %}
{% endblock %}
</div>
{% endblock %}
{% include 'sidebar' %}
</div>{# .row #}

View file

@ -1,6 +1,8 @@
{% extends 'default' %}
{% block content_wrapper %}
<div class="col-md-10">
{% include 'post-header' %}
{% block content %}{% endblock %}
@ -21,4 +23,6 @@
{% if page.previous_post %}<li>Previous post: <a href="{{ page.previous_post.url }}">{{ page.previous_post.title }}</a></li>{% endif %}
</ul>
{% endif %}
</div>
{% endblock %}