Removed sidebar

This commit is contained in:
Oliver Davies 2015-04-13 21:15:09 +01:00
parent a6509ba249
commit a84e96e6d6
3 changed files with 9 additions and 35 deletions

View file

@ -3,12 +3,4 @@ layout: default
title: Page Not Found title: Page Not Found
permalink: /404.html permalink: /404.html
--- ---
{% block content_wrapper %}
<div class="col-md-12">
{% block content %}
<h1>Page Not Found</h1> <h1>Page Not Found</h1>
{% endblock %}
</div> {# .col.md-12 #}
{% endblock %}
{% block sidebar %}{% endblock %}

View file

@ -5,20 +5,10 @@ nav: blog
use: use:
- posts - posts
--- ---
{% block content_wrapper %}
<div class="col-md-12">
{% block content %}
<h1>Blog</h1> <h1>Blog</h1>
{% if data.posts %}
<ul> <ul>
{% for post in data.posts %} {% for post in data.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li> <li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %}
{% endblock %}
</div> {# .col.md-12 #}
{% endblock %}
{% block sidebar %}{% endblock %}

View file

@ -20,15 +20,7 @@
<div class="row"> <div class="row">
{% block content_wrapper %} {% block content_wrapper %}
<div class="col-md-9">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div>
{% endblock %}
{% block sidebar %}
<div class="col-md-3">
{% include 'latest-posts' %}
</div>
{% endblock %} {% endblock %}
</div>{# .row #} </div>{# .row #}