This commit is contained in:
parent
e56d8b4548
commit
d1244ac0a7
@ -35,5 +35,5 @@ export default async function render(
|
||||
|
||||
const res = await (<component.default {...data} />).render();
|
||||
|
||||
return new StringReader(res as string);
|
||||
return new StringReader("<!DOCTYPE html>\n" + (res as string));
|
||||
}
|
||||
|
@ -9,8 +9,9 @@ const styles = new TextDecoder().decode(
|
||||
export default function Base(p: any, children: any[]) {
|
||||
const title = p.title || "DenReg";
|
||||
return (
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"></meta>
|
||||
{/* <link
|
||||
rel="stylesheet"
|
||||
href="https://deno.hibas123.de/raw/@hibas123-theme@2.0.2/out/base.css"
|
||||
|
Loading…
Reference in New Issue
Block a user