Moved the main content wrapper
This commit is contained in:
parent
66148bb245
commit
24f8844f4d
|
@ -27,11 +27,11 @@
|
|||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
{% block content_wrapper %}
|
||||
{% block content_wrapper %}
|
||||
<div class="col-md-10">
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% include 'sidebar' %}
|
||||
</div>{# .row #}
|
||||
|
|
|
@ -1,24 +1,28 @@
|
|||
{% extends 'default' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
{% include 'post-header' %}
|
||||
{% block content %}{% endblock %}
|
||||
<div class="col-md-10">
|
||||
|
||||
{% if page.tags %}
|
||||
<p class="tags">
|
||||
Tags:
|
||||
{% for tag in page.tags %}
|
||||
<a href="{{ site.url }}/blog/tags/{{ tag|url_encode(true) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% include 'post-header' %}
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
{% include 'about-author' %}
|
||||
{% if page.tags %}
|
||||
<p class="tags">
|
||||
Tags:
|
||||
{% for tag in page.tags %}
|
||||
<a href="{{ site.url }}/blog/tags/{{ tag|url_encode(true) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if page.next_post or page.previous_post %}
|
||||
<ul>
|
||||
{% if page.next_post %}<li>Next post: <a href="{{ page.next_post.url }}">{{ page.next_post.title }}</a></li>{% endif %}
|
||||
{% if page.previous_post %}<li>Previous post: <a href="{{ page.previous_post.url }}">{{ page.previous_post.title }}</a></li>{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% include 'about-author' %}
|
||||
|
||||
{% if page.next_post or page.previous_post %}
|
||||
<ul>
|
||||
{% if page.next_post %}<li>Next post: <a href="{{ page.next_post.url }}">{{ page.next_post.title }}</a></li>{% endif %}
|
||||
{% if page.previous_post %}<li>Previous post: <a href="{{ page.previous_post.url }}">{{ page.previous_post.title }}</a></li>{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue