Remove base.html.twig

This commit is contained in:
Oliver Davies 2016-05-27 20:00:54 +01:00
parent 2341a91739
commit c743e5f9f3
3 changed files with 24 additions and 25 deletions

View file

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

View file

@ -1 +1,23 @@
{% extends "base" %}
<!DOCTYPE html>
<html class="no-js" lang="en-GB">
{{ include('head') }}
<body class="{{ page.blocks.body_classes }}">
{{ include('nav') }}
<div class="container">
<div class="row">
<main class="col-md-9">
{% block content_top %}{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
{% block content_bottom %}{% endblock %}
</main>
{{ include('sidebar') }}
</div>{# .row #}
</div>{# .container #}
{{ include('footer') }}
</body>
</html>

View file

@ -1,4 +1,4 @@
{% extends "base" %}
{% extends 'default' %}
{% block content_top %}
<h1>{{ page.title }}</h1>