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.
Signature
Section titled “Signature”function readSiteConfig(): SiteConfig | nullReturns
Section titled “Returns”SiteConfig | null