Add app.html.twig, extend default

This commit is contained in:
Oliver Davies 2018-12-06 17:54:06 +00:00
parent 701b174a41
commit 3fe9e1451b
2 changed files with 17 additions and 12 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="{{ site.locale|default('en') }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.name|default('Sculpin Skeleton') }}</title>
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>

View file

@ -1,12 +1,5 @@
<!DOCTYPE html>
<html lang="{{ site.locale|default('en') }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.name|default('Sculpin Skeleton') }}</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>
{% extends 'app' %}
{% block body %}
{% block content %}{% endblock %}
{% endblock %}