Configuration
(Last Edited)
site.config.ts
site.config.ts at the project root is the single file to edit when forking the
project. It exports a default object typed against SiteConfig.
import type { SiteConfig } from '@/lib/site';
const siteConfig: SiteConfig = {
name: 'powerium.io',
description: "@powersagitar's personal site.",
url: 'https://www.powerium.io',
};
export default siteConfig;SiteConfig schema
Defined in src/lib/site.ts:
| Field | Type | Description |
|---|---|---|
name | string | Site name. Used as the default <title> and in the title template (%s | name). |
description | string | Default meta description for the root page. |
url | string | Canonical base URL. Used in metadataBase and sitemap.xml. Must not have a trailing slash. |
Where values are consumed
| Value | Consumed by |
|---|---|
name | src/app/layout.tsx — metadata.title |
description | src/app/layout.tsx — metadata.description |
url | src/app/layout.tsx — metadata.metadataBase; src/app/sitemap.ts — URL prefix in sitemap entries |