fix omitted base.css
This commit is contained in:
parent
84fb327256
commit
c53ca6440c
@ -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 { HandlerContext, Handlers, PageProps, Status } from "$fresh/server.ts";
|
||||||
import DocSearch from "../../islands/DocSearch.tsx";
|
import DocSearch from "../../islands/DocSearch.tsx";
|
||||||
import { Doc } from "../../src/collect.ts";
|
import { Doc } from "../../src/collect.ts";
|
||||||
@ -24,6 +24,7 @@ export default function Docs(props: PageProps<{ docs: Doc[] }>) {
|
|||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<title>Simple file server - Doc</title>
|
<title>Simple file server - Doc</title>
|
||||||
|
<link rel="stylesheet" href={asset("/base.css")} />
|
||||||
</Head>
|
</Head>
|
||||||
<div class="p-4 mx-auto max-w-screen-md">
|
<div class="p-4 mx-auto max-w-screen-md">
|
||||||
<DocSearch docs={docs}></DocSearch>
|
<DocSearch docs={docs}></DocSearch>
|
||||||
|
Loading…
Reference in New Issue
Block a user