eleventy-mainroad/_includes/layouts/base.webc

55 lines
1.3 KiB
Plaintext

<!doctype html>
<html :lang="en-us">
<!-- Hello world! -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title @text="title ? title : metadata.title"></title>
<!--- Uncomment this if you'd like folks to know that you used Eleventy to build your site! --->
<meta name="generator" :content="eleventy.generator">
<!--- These will be picked up and bundled by eleventy --->
<link rel="stylesheet" href="../css/vars.css">
<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 {
width: 95%;
margin: auto;
background: white;
}
</style>
<!--- 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">
<site-header :@title="metadata.title" @subtitle="plaintext">
</site-header>
<nav-bar></nav-bar>
<template @raw="content" webc:nokeep></template>
<site-footer></site-footer>
</div>
</main>
</body>
</html>