Moved the main content wrapper
This commit is contained in:
parent
66148bb245
commit
24f8844f4d
|
@ -27,11 +27,11 @@
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-10">
|
{% block content_wrapper %}
|
||||||
{% block content_wrapper %}
|
<div class="col-md-10">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
{% endblock %}
|
</div>
|
||||||
</div>
|
{% endblock %}
|
||||||
|
|
||||||
{% include 'sidebar' %}
|
{% include 'sidebar' %}
|
||||||
</div>{# .row #}
|
</div>{# .row #}
|
||||||
|
|
|
@ -1,24 +1,28 @@
|
||||||
{% extends 'default' %}
|
{% extends 'default' %}
|
||||||
|
|
||||||
{% block content_wrapper %}
|
{% block content_wrapper %}
|
||||||
{% include 'post-header' %}
|
<div class="col-md-10">
|
||||||
{% block content %}{% endblock %}
|
|
||||||
|
|
||||||
{% if page.tags %}
|
{% include 'post-header' %}
|
||||||
<p class="tags">
|
{% block content %}{% endblock %}
|
||||||
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 '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 %}
|
{% include 'about-author' %}
|
||||||
<ul>
|
|
||||||
{% if page.next_post %}<li>Next post: <a href="{{ page.next_post.url }}">{{ page.next_post.title }}</a></li>{% endif %}
|
{% if page.next_post or page.previous_post %}
|
||||||
{% if page.previous_post %}<li>Previous post: <a href="{{ page.previous_post.url }}">{{ page.previous_post.title }}</a></li>{% endif %}
|
<ul>
|
||||||
</ul>
|
{% if page.next_post %}<li>Next post: <a href="{{ page.next_post.url }}">{{ page.next_post.title }}</a></li>{% endif %}
|
||||||
{% 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 %}
|
{% endblock %}
|
Reference in a new issue