← Home

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:

FieldTypeDescription
namestringSite name. Used as the default <title> and in the title template (%s | name).
descriptionstringDefault meta description for the root page.
urlstringCanonical base URL. Used in metadataBase and sitemap.xml. Must not have a trailing slash.

Where values are consumed

ValueConsumed by
namesrc/app/layout.tsxmetadata.title
descriptionsrc/app/layout.tsxmetadata.description
urlsrc/app/layout.tsxmetadata.metadataBase; src/app/sitemap.ts — URL prefix in sitemap entries