feat: bring back <Head> component (#3249)
This PR brings back the `<Head>` component from Fresh 1.x . The implementation is much cleaner than back then and also works client-side now too.
This commit is contained in:
@@ -3,6 +3,7 @@ import type { Context } from "fresh";
|
||||
const REDIRECTS: Record<string, string> = {
|
||||
"/docs/getting-started/fetching-data":
|
||||
"/docs/getting-started/custom-handlers",
|
||||
"/docs/canary/examples/modifying-the-head": "/docs/canary/advanced/head",
|
||||
};
|
||||
|
||||
export async function handler<T>(ctx: Context<T>) {
|
||||
|
||||
Reference in New Issue
Block a user