docs: new website (#66)

This commit is contained in:
Luca Casonato
2021-10-04 11:12:12 +02:00
committed by GitHub
parent 044da54513
commit 4a6b57de89
29 changed files with 311 additions and 163 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ await start(routes);
Start the project:
\`\`\`
deno run -A --unstable --watch main.ts
deno run -A --watch main.ts
\`\`\`
After adding, removing, or moving a page in the \`pages\` directory, run:
+3
View File
@@ -272,6 +272,9 @@ export function template(opts: TemplateOptions): string {
const page = (
<html lang={opts.lang}>
<head>
<meta charSet="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{opts.preloads.map((src) => <link rel="modulepreload" href={src} />)}
{opts.imports.map((src) => <script src={src} type="module"></script>)}
<style