diff --git a/source/_layouts/app.html.twig b/source/_layouts/app.html.twig new file mode 100644 index 0000000..32cf4a6 --- /dev/null +++ b/source/_layouts/app.html.twig @@ -0,0 +1,15 @@ + + + + + {{ site.title }} + + + + +
+ {% block body %}{% endblock %} +
+ + + diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig deleted file mode 100644 index d46ff77..0000000 --- a/source/_layouts/default.html.twig +++ /dev/null @@ -1,26 +0,0 @@ - - - - - {{ site.title }} - - - - -
- {% include 'layout/header' %} - {% include 'layout/main-menu' %} - -
-
-

- {{ page.title }} -

- - {% block content %}{% endblock %} -
-
-
- - - diff --git a/source/_layouts/page.html.twig b/source/_layouts/page.html.twig new file mode 100644 index 0000000..c5043b9 --- /dev/null +++ b/source/_layouts/page.html.twig @@ -0,0 +1,16 @@ +{% extends 'app' %} + +{% block body %} + {% include 'layout/header' %} + {% include 'layout/main-menu' %} + +
+
+

+ {{ page.title }} +

+ + {% block content %}{% endblock %} +
+
+{% endblock %} diff --git a/source/coaches.md b/source/coaches.md index 647ce49..833a08c 100644 --- a/source/coaches.md +++ b/source/coaches.md @@ -1,5 +1,5 @@ --- -layout: default +layout: page title: Coaches permalink: / coaches: [] diff --git a/source/contact.html.twig b/source/contact.html.twig index ec7600f..01bedb3 100644 --- a/source/contact.html.twig +++ b/source/contact.html.twig @@ -1,5 +1,5 @@ --- -layout: default +layout: page title: Contact email: cardiffbjj@googlemail.com phone: 07976 461973 diff --git a/source/membership.html.twig b/source/membership.html.twig index 2bab2f3..86a7041 100644 --- a/source/membership.html.twig +++ b/source/membership.html.twig @@ -1,5 +1,5 @@ --- -layout: default +layout: page title: Current Prices adults: unlimited: 50 diff --git a/source/schedule.html.twig b/source/schedule.html.twig index 573cb01..75522ef 100644 --- a/source/schedule.html.twig +++ b/source/schedule.html.twig @@ -1,5 +1,5 @@ --- -layout: default +layout: page title: Class Schedule classes: monday: