From be4e48cabe78e85e16c7f562e7eec271b25f6cdc Mon Sep 17 00:00:00 2001 From: luisdralves Date: Thu, 14 Dec 2023 18:35:14 +0000 Subject: [PATCH 1/2] Add HTML language to all pages --- .../website/src/renderer/_default.page.server.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/workspaces/website/src/renderer/_default.page.server.tsx b/workspaces/website/src/renderer/_default.page.server.tsx index 99fb2b9b47..e282aed1ce 100644 --- a/workspaces/website/src/renderer/_default.page.server.tsx +++ b/workspaces/website/src/renderer/_default.page.server.tsx @@ -1,6 +1,6 @@ import { renderToStream } from "react-streaming/server"; import { escapeInject } from "vite-plugin-ssr/server"; -import { DocumentProps, PageContextServer, SeoType } from "./types"; +import { PageContextServer, SeoType } from "./types"; import { PageShell } from "./PageShell"; import { getDefaultPageContext } from "./helpers"; import type { InjectFilterEntry } from "vite-plugin-ssr/types"; @@ -56,11 +56,11 @@ export async function render(pageContext: PageContextServer) { const image = documentProps?.image ?? `${import.meta.env.VITE_SITE_URL}/assets/share/generic_landing.png`; - + const focusKeywords = pageSeo?.seoFocusKeywords as string[] const documentHtml = escapeInject` - + @@ -81,7 +81,7 @@ export async function render(pageContext: PageContextServer) { - + - +