docs: new website (#66)
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user