We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a9e5ce commit 1186a5fCopy full SHA for 1186a5f
docs/src/app/[lang]/layout.tsx
@@ -2,6 +2,7 @@ import '@/app/global.css';
2
import { defineI18nUI } from 'fumadocs-ui/i18n';
3
import { RootProvider } from 'fumadocs-ui/provider';
4
import type { Metadata } from 'next';
5
+import Script from 'next/script';
6
import type { PropsWithChildren } from 'react';
7
import { i18n } from '@/lib/i18n';
8
@@ -90,6 +91,11 @@ export default async function Layout({
90
91
const lang = (await params).lang;
92
return (
93
<html lang={lang} suppressHydrationWarning>
94
+ <Script
95
+ defer
96
+ src="https://umami.mjstudio.net/script.js"
97
+ data-website-id="20802a8b-5591-4919-a8af-d20317718fd0"
98
+ />
99
<body className="flex flex-col min-h-screen">
100
<RootProvider
101
i18n={provider(lang)}
0 commit comments