Skip to content
HomePagesHomePages template kit

readSiteConfig

Read the per-site config a published page embeds as `#tr-site-config`.

Read the per-site config a published page embeds as #tr-site-config. Null when absent or incomplete.

Import from @homepages/template-kit/browser.

function readSiteConfig(): SiteConfig | null

SiteConfig | null