Update layouts

This commit is contained in:
Oliver Davies 2018-09-04 22:03:42 +01:00
parent 57f8db51ea
commit 4edf977fb2
7 changed files with 35 additions and 30 deletions

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ site.title }}</title>
<link href="/dist/css/app.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
<div id="app">
{% block body %}{% endblock %}
</div>
<script src="/dist/js/all.js"></script>
</body>
</html>

View file

@ -1,26 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ site.title }}</title>
<link href="/dist/css/app.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
<div id="app">
{% include 'layout/header' %}
{% include 'layout/main-menu' %}
<div class="container mx-auto px-4">
<div class="leading-normal pt-8 sm:pt-16 pb-16 sm:pb-24">
<h1 class="uppercase text-red text-center mb-6 sm:mb-12 text-bold tracking-wide">
{{ page.title }}
</h1>
{% block content %}{% endblock %}
</div>
</div>
</div>
<script src="/dist/js/all.js"></script>
</body>
</html>

View file

@ -0,0 +1,16 @@
{% extends 'app' %}
{% block body %}
{% include 'layout/header' %}
{% include 'layout/main-menu' %}
<div class="container mx-auto px-4">
<div class="leading-normal pt-8 sm:pt-16 pb-16 sm:pb-24">
<h1 class="uppercase text-red text-center mb-6 sm:mb-12 text-bold tracking-wide">
{{ page.title }}
</h1>
{% block content %}{% endblock %}
</div>
</div>
{% endblock %}

View file

@ -1,5 +1,5 @@
---
layout: default
layout: page
title: Coaches
permalink: /
coaches: []

View file

@ -1,5 +1,5 @@
---
layout: default
layout: page
title: Contact
email: cardiffbjj@googlemail.com
phone: 07976 461973

View file

@ -1,5 +1,5 @@
---
layout: default
layout: page
title: Current Prices
adults:
unlimited: 50

View file

@ -1,5 +1,5 @@
---
layout: default
layout: page
title: Class Schedule
classes:
monday: