fix: make <Head> work in client (#3252)
Closes #3310 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Bartek Iwańczuk
Claude Opus 4.6
parent
19d3589b9b
commit
a79b155e79
@@ -8,6 +8,7 @@ export default function Page({ Component }: PageProps) {
|
||||
<title>not ok</title>
|
||||
<meta name="foo" content="not ok" />
|
||||
<meta name="bar" content="not ok" />
|
||||
<link rel="canonical" href="https://example.com/not-ok" />
|
||||
<style>not ok</style>
|
||||
<style id="style-id">not ok</style>
|
||||
<template key="a">not ok</template>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { DynamicMetaIsland } from "../islands/DynamicMetaIsland.tsx";
|
||||
|
||||
export default function Page() {
|
||||
return <DynamicMetaIsland />;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { LinkIsland } from "../islands/LinkIsland.tsx";
|
||||
|
||||
export default function Page() {
|
||||
return <LinkIsland />;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { MultiHeadA } from "../islands/MultiHeadA.tsx";
|
||||
import { MultiHeadB } from "../islands/MultiHeadB.tsx";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<MultiHeadA />
|
||||
<MultiHeadB />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user