Fix html lang (#291)
This commit is contained in:
parent
a3319b2fa7
commit
ba7af69592
@ -107,7 +107,7 @@ export const APP_LOCALE = (process.env.NEXT_PUBLIC_LOCALE || 'en-us')
|
|||||||
// Accepts both `en-us` and `EN_US`
|
// Accepts both `en-us` and `EN_US`
|
||||||
.toLocaleLowerCase()
|
.toLocaleLowerCase()
|
||||||
.replace('_', '-');
|
.replace('_', '-');
|
||||||
export const HTML_LANG = (APP_LOCALE.split('-')[1] || 'en');
|
export const HTML_LANG = (APP_LOCALE.split('-')[0] || 'en');
|
||||||
|
|
||||||
export const CUSTOM_NAV_TITLE =
|
export const CUSTOM_NAV_TITLE =
|
||||||
process.env.NEXT_PUBLIC_NAV_TITLE;
|
process.env.NEXT_PUBLIC_NAV_TITLE;
|
||||||
@ -490,4 +490,3 @@ export const IS_SITE_READY =
|
|||||||
APP_CONFIGURATION.hasAdminUser;
|
APP_CONFIGURATION.hasAdminUser;
|
||||||
|
|
||||||
export type AppConfiguration = typeof APP_CONFIGURATION;
|
export type AppConfiguration = typeof APP_CONFIGURATION;
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user