Updated endblocks

This commit is contained in:
Oliver Davies 2015-08-20 23:08:02 +01:00
parent c2fb13a1f5
commit 92b9007024
4 changed files with 9 additions and 9 deletions

View file

@ -57,9 +57,9 @@
<div class="row"> <div class="row">
{% block content_wrapper %} {% block content_wrapper %}
<main class="col-md-10"> <main class="col-md-10">
{% block content %}{% endblock %} {% block content %}{% endblock content %}
</main> </main>
{% endblock %} {% endblock content_wrapper %}
{% block sidebar_wrapper %} {% block sidebar_wrapper %}
<div class="col-md-2"> <div class="col-md-2">
@ -72,9 +72,9 @@
</section> </section>
{% include 'availability' %} {% include 'availability' %}
{% endblock %} {% endblock sidebar %}
</div> </div>
{% endblock %} {% endblock sidebar_wrapper %}
</div>{# .row #} </div>{# .row #}
</div>{# .container #} </div>{# .container #}
@ -89,7 +89,7 @@
<script src="{{ site.url }}/components/highlightjs/highlight.pack.js"></script> <script src="{{ site.url }}/components/highlightjs/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script> <script>hljs.initHighlightingOnLoad();</script>
{% block scripts %}{% endblock %} {% block scripts %}{% endblock scripts %}
{% if page.tweets is defined and page.tweets == true %} {% if page.tweets is defined and page.tweets == true %}
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

View file

@ -6,7 +6,7 @@
<main class="col-md-10"> <main class="col-md-10">
{% include 'post_header' %} {% include 'post_header' %}
{% block content %}{% endblock %} {% block content %}{% endblock content %}
{% if page.related -%} {% if page.related -%}
<h2>Related Posts</h2> <h2>Related Posts</h2>
@ -45,4 +45,4 @@
{% endif %} {% endif %}
</main> </main>
{% endblock %} {% endblock content_wrapper %}

View file

@ -22,4 +22,4 @@
</div> </div>
{% endif %} {% endif %}
</main> </main>
{% endblock %} {% endblock content_wrapper %}

View file

@ -38,4 +38,4 @@ use:
{% endif %} {% endif %}
</nav> </nav>
{% endif %} {% endif %}
{% endblock %} {% endblock content %}