From 3a019036464297548279f65e9d150b877dd68cee Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 2 Sep 2026 16:35:42 +0000 Subject: [PATCH] Restore the Plausible analytics script on the Fumadocs site The old Sphinx docs carried it in docs/_templates/layout.html, which went away when sqlc-dev/sqlc docs/ became pure Markdown. Add the same tag to the root layout so every exported page loads it again. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01GDfqKuPpCRwaDtjxVCRfGe --- app/layout.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/layout.tsx b/app/layout.tsx index 7d32d02..dfba2e5 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -26,6 +26,17 @@ export const metadata: Metadata = { export default function Layout({ children }: LayoutProps<'/'>) { return ( + + {/* Plausible analytics, self-proxied (see the privacy guide). A plain + tag rather than next/script so it lands in every exported page's + HTML, as it did in the old Sphinx docs/_templates/layout.html. */} +