chore: moving more config into site.config.js

This commit is contained in:
Travis Fischer
2021-01-19 21:01:35 -05:00
parent 6707fc8d56
commit 76a04062a5
3 changed files with 24 additions and 12 deletions

View File

@@ -41,10 +41,16 @@ export const defaultPageCoverPosition: number = getSiteConfig(
0.5
)
// image CDN host to proxy all image requests through
// Optional utteranc.es comments via GitHub issue comments
export const utterancesGitHubRepo: string | null = getSiteConfig(
'utterancesGitHubRepo',
null
)
// Optional image CDN host to proxy all image requests through
export const imageCDNHost: string | null = getSiteConfig('imageCDNHost', null)
// whether or not to enable support for LQIP preview images
// Optional whether or not to enable support for LQIP preview images
// (requires a Google Firebase collection)
export const isPreviewImageSupportEnabled: boolean = getSiteConfig(
'isPreviewImageSupportEnabled',