A few SEO
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-10-14 22:34:57 +02:00
parent e56d8b4548
commit d1244ac0a7
2 changed files with 3 additions and 2 deletions

View File

@ -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));
}

View File

@ -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"