add boilerplate
This commit is contained in:
18
src/_includes/layout/base.njk
Normal file
18
src/_includes/layout/base.njk
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/css/styles.css" />
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>{% include 'partials/header.njk' %}</header>
|
||||
<nav>{% include 'partials/navigation.njk' %}</nav>
|
||||
<main>
|
||||
<h1>{{ title }}</h1>
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
<footer>{% include 'partials/footer.njk' %}</footer>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user