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
permalink: /404.html
---
{% block content_wrapper %}
<div class="col-md-12">
{% block content %}
<h1>Page Not Found</h1>
{% endblock %}
</div> {# .col.md-12 #}
{% endblock %}
{% block sidebar %}{% endblock %}
<h1>Page Not Found</h1>

View file

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

View file

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