diff options
Diffstat (limited to 'src/app/(main)/settings/layout.tsx')
| -rw-r--r-- | src/app/(main)/settings/layout.tsx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/app/(main)/settings/layout.tsx b/src/app/(main)/settings/layout.tsx new file mode 100644 index 0000000..4e773a3 --- /dev/null +++ b/src/app/(main)/settings/layout.tsx @@ -0,0 +1,17 @@ +import type { Metadata } from 'next'; +import { SettingsLayout } from './SettingsLayout'; + +export default function ({ children }) { + if (process.env.cloudMode) { + return null; + } + + return <SettingsLayout>{children}</SettingsLayout>; +} + +export const metadata: Metadata = { + title: { + template: '%s | Settings | Umami', + default: 'Settings | Umami', + }, +}; |