Standardise on include format
This commit is contained in:
parent
c5e5ae90d5
commit
188a8d044f
7 changed files with 24 additions and 23 deletions
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue