Remove base.html.twig

This commit is contained in:
Oliver Davies 2019-05-20 18:45:58 +01:00
parent 0adfd87cd0
commit b7352e2fe9
2 changed files with 21 additions and 22 deletions

View file

@ -1,21 +0,0 @@
{% extends 'app' %}
{% block body %}
{% include 'layout/navbar' %}
<div class="container mt-24 px-4 mx-auto flex flex-col flex-1">
<main id="main-content" class="flex-1 wrap {{ page.layout == 'front' ? 'is-wide' : '' }}">
{% block page_title_wrapper %}
<h1 class="leading-tight mb-4">
{% block page_title %}{{ page.title }}{% endblock %}
</h1>
{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
</main>
{% include 'layout/footer' %}
</div>
{% endblock %}

View file

@ -1 +1,21 @@
{% extends 'base' %} {% extends 'app' %}
{% block body %}
{% include 'layout/navbar' %}
<div class="container mt-24 px-4 mx-auto flex flex-col flex-1">
<main id="main-content" class="flex-1 wrap {{ page.layout == 'front' ? 'is-wide' : '' }}">
{% block page_title_wrapper %}
<h1 class="leading-tight mb-4">
{% block page_title %}{{ page.title }}{% endblock %}
</h1>
{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
</main>
{% include 'layout/footer' %}
</div>
{% endblock %}