diff --git a/components/layouts/main.tsx b/components/layouts/main.tsx index 1184f9b..0877f17 100644 --- a/components/layouts/main.tsx +++ b/components/layouts/main.tsx @@ -1,6 +1,6 @@ import { ComponentChildren } from "preact"; import { menu } from "@lib/menus.ts"; -import { CSS, KATEX_CSS,render } from "https://deno.land/x/gfm/mod.ts"; +import { CSS, KATEX_CSS, render } from "https://deno.land/x/gfm/mod.ts"; import { Head } from "$fresh/runtime.ts"; export type Props = { @@ -11,7 +11,7 @@ export type Props = { description?: string; }; -export const MainLayout = ({ children, url }: Props) => { +export const MainLayout = ({ children, url, title }: Props) => { return (
{ + {title && + {title}}