diff --git a/routes/doc/index.tsx b/routes/doc/index.tsx index e2f18e2..174e5ac 100644 --- a/routes/doc/index.tsx +++ b/routes/doc/index.tsx @@ -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[] }>) { <> Simple file server - Doc +