eleventy-mainroad/_includes/layouts/base.webc

55 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2023-05-03 01:18:17 +00:00
<!doctype html>
<html :lang="en-us">
2023-05-03 02:33:35 +00:00
<!-- Hello world! -->
2023-05-03 01:18:17 +00:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2023-05-04 02:29:43 +00:00
<title @text="title ? title : metadata.title"></title>
2023-05-03 01:18:17 +00:00
<!--- Uncomment this if you'd like folks to know that you used Eleventy to build your site! --->
<meta name="generator" :content="eleventy.generator">
2023-05-03 02:33:35 +00:00
<!--- These will be picked up and bundled by eleventy --->
2023-05-04 02:29:43 +00:00
<link rel="stylesheet" href="../css/vars.css">
2023-05-03 02:33:35 +00:00
<style>
body {
margin: 0;
font-family: "Open Sans", Helvetica, Arial, sans-serif;
font-size: 14px;
font-size: .875rem;
line-height: 1.6;
word-wrap: break-word;
background: #f7f7f7;
-webkit-font-smoothing: antialiased;
}
.container {
2023-05-04 02:29:43 +00:00
width: 95%;
2023-05-03 02:33:35 +00:00
margin: auto;
background: white;
}
2023-05-04 02:29:43 +00:00
2023-05-03 02:33:35 +00:00
</style>
2023-05-03 01:18:17 +00:00
<!--- Build and embed the bundles needed for each page --->
<style @raw="getBundle('css')" webc:keep></style>
<script @raw="getBundle('js')" webc:keep></script>
</head>
<body>
<main id="skip">
<div class="container">
2023-05-04 02:29:43 +00:00
<site-header :@title="metadata.title" @subtitle="plaintext">
</site-header>
2023-05-03 02:33:35 +00:00
<nav-bar></nav-bar>
2023-05-03 01:18:17 +00:00
<template @raw="content" webc:nokeep></template>
2023-05-03 02:33:35 +00:00
<site-footer></site-footer>
2023-05-03 01:18:17 +00:00
</div>
</main>
</body>
</html>