fix omitted base.css

This commit is contained in:
monoid 2023-02-15 00:04:09 +09:00
parent 84fb327256
commit c53ca6440c

View File

@ -1,4 +1,4 @@
import { Head } from "$fresh/runtime.ts";
import { Head, asset } from "$fresh/runtime.ts";
import { HandlerContext, Handlers, PageProps, Status } from "$fresh/server.ts";
import DocSearch from "../../islands/DocSearch.tsx";
import { Doc } from "../../src/collect.ts";
@ -24,6 +24,7 @@ export default function Docs(props: PageProps<{ docs: Doc[] }>) {
<>
<Head>
<title>Simple file server - Doc</title>
<link rel="stylesheet" href={asset("/base.css")} />
</Head>
<div class="p-4 mx-auto max-w-screen-md">
<DocSearch docs={docs}></DocSearch>