consolidate layouts and includes
This commit is contained in:
parent
bf4f142cb7
commit
8f86de2246
2 changed files with 0 additions and 1 deletions
28
_includes/page.njk
Normal file
28
_includes/page.njk
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
eleventyComputed:
|
||||
eleventyNavigation:
|
||||
key: "{{ title }}"
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% if title %}{{ title }} | {% endif %}ESE {{ year }}</title>
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
||||
<link rel="stylesheet" href="/aileron.lite.min.css">
|
||||
</head>
|
||||
<body>
|
||||
{% include 'header.njk' %}
|
||||
|
||||
<main>
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
|
||||
{% include 'footer.njk' %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
{% css %}
|
||||
{% include "page.css" %}
|
||||
{% endcss %}
|
Loading…
Add table
Add a link
Reference in a new issue