fix(home): move prerender export inside frontmatter so it stops rendering as text

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
emil
2026-05-18 09:30:33 +03:00
co-authored by Claude Opus 4.7
parent 79e1dc4144
commit 815c5c7b04
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -6,6 +6,8 @@ import { generators } from "@/data/generators";
import { useT } from "@/i18n/translations";
import type { Lang } from "@/i18n/translations";
export const prerender = true;
const lang = (Astro.currentLocale as Lang) || "en";
const T = useT(lang);
@@ -18,7 +20,6 @@ const webSiteSchema = {
inLanguage: lang,
};
---
export const prerender = true;
<BaseLayout>
<script
+2 -1
View File
@@ -6,6 +6,8 @@ import { generators } from "@/data/generators";
import { useT } from "@/i18n/translations";
import type { Lang } from "@/i18n/translations";
export const prerender = true;
const lang = (Astro.currentLocale as Lang) || "en";
const T = useT(lang);
@@ -18,7 +20,6 @@ const webSiteSchema = {
inLanguage: lang,
};
---
export const prerender = true;
<BaseLayout>
<script