Split base and app layouts
This commit is contained in:
parent
3d8a8f6bf7
commit
98afbc0947
11
source/_layouts/app.html.twig
Normal file
11
source/_layouts/app.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# ">
|
||||
<head>
|
||||
{% include 'meta' %}
|
||||
</head>
|
||||
<body class="path-frontpage">
|
||||
<div id="app">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,9 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# ">
|
||||
<head>
|
||||
{% include 'meta' %}
|
||||
</head>
|
||||
<body class="path-frontpage">
|
||||
{% extends 'app' %}
|
||||
|
||||
{% block body %}
|
||||
<a href="#main-content" class="visually-hidden focusable skip-link">
|
||||
Skip to main content
|
||||
</a>
|
||||
|
@ -25,5 +22,4 @@
|
|||
{% include 'footer' %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue