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:
Marvin Hagemeister
2025-08-25 15:40:47 +02:00
committed by GitHub
parent bf25d10a84
commit 1daca75489
27 changed files with 916 additions and 326 deletions
+1 -1
View File
@@ -54,6 +54,7 @@ const toc: RawTableOfContents = {
["forms", "Forms", "link:canary"],
["define", "Define Helpers", "link:canary"],
["environment-variables", "Environment Variables", "link:canary"],
["head", "Modifying <head>", "link:canary"],
],
},
deployment: {
@@ -85,7 +86,6 @@ const toc: RawTableOfContents = {
pages: [
["migration-guide", "Migration Guide", "link:canary"],
["daisyui", "daisyUI", "link:canary"],
["modifying-the-head", "Modifying the <head>", "link:canary"],
["creating-a-crud-api", "Creating a CRUD API", "link:latest"],
["markdown", "Rendering Markdown", "link:canary"],
["rendering-raw-html", "Rendering raw HTML", "link:canary"],