From 3fe9e1451bcf0029ed9419863c3cf2573c1e479d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 6 Dec 2018 17:54:06 +0000 Subject: [PATCH] Add app.html.twig, extend default --- source/_layouts/app.html.twig | 12 ++++++++++++ source/_layouts/default.html.twig | 17 +++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 source/_layouts/app.html.twig diff --git a/source/_layouts/app.html.twig b/source/_layouts/app.html.twig new file mode 100644 index 0000000..05ae600 --- /dev/null +++ b/source/_layouts/app.html.twig @@ -0,0 +1,12 @@ + + + + + + + {{ site.name|default('Sculpin Skeleton') }} + + + {% block body %}{% endblock %} + + diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index fb80fb1..56c9c99 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -1,12 +1,5 @@ - - - - - - - {{ site.name|default('Sculpin Skeleton') }} - - - {% block content %}{% endblock %} - - +{% extends 'app' %} + +{% block body %} + {% block content %}{% endblock %} +{% endblock %}