Standardise on include format

This commit is contained in:
Oliver Davies 2016-09-29 12:43:17 +01:00
parent c5e5ae90d5
commit 188a8d044f
7 changed files with 24 additions and 23 deletions

View file

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html class="no-js" lang="en-GB">
{{ include('head') }}
{% include 'head' %}
<body class="{{ page.blocks.body_classes }}">
{{ include('nav') }}
{% include 'nav' %}
<div class="container">
<div class="row">
@ -14,10 +15,10 @@
{% block content_bottom %}{% endblock %}
</main>
{{ include('sidebar') }}
{% include 'sidebar' %}
</div>{# .row #}
</div>{# .container #}
{{ include('footer') }}
{% include 'footer' %}
</body>
</html>

View file

@ -1,13 +1,13 @@
{% extends 'default' %}
{% block content_wrapper %}
{{ include('post/header') }}
{% include 'post/header' %}
{% block content %}{% endblock %}
{{ include('post/feedback') }}
{{ include('post/related') }}
{{ include('post/tags') }}
{{ include('post/about-author') }}
{{ include('post/pager') }}
{% include 'post/feedback' %}
{% include 'post/related' %}
{% include 'post/tags' %}
{% include 'post/about-author' %}
{% include 'post/pager' %}
{% endblock %}

View file

@ -3,11 +3,11 @@
{% block body_classes 'page--project' %}
{% block content_wrapper %}
{{ include('project/image') }}
{% include 'project/image' %}
{% block content %}{% endblock %}
{{ include('project/website') }}
{{ include('project/skills') }}
{{ include('project/company') }}
{% include 'project/website' %}
{% include 'project/skills' %}
{% include 'project/company' %}
{% endblock %}

View file

@ -7,7 +7,7 @@
{% block content_wrapper %}
{% block content %}{% endblock %}
{{ include('talk/event') }}
{{ include('talk/slides') }}
{{ include('talk/video') }}
{% include 'talk/event' %}
{% include 'talk/slides' %}
{% include 'talk/video' %}
{% endblock %}