Add date formatter, language and text direction settings
This commit is contained in:
@ -13,6 +13,16 @@ const CONFIG = {
|
||||
|
||||
defaultTheme: 'system', // Values: "system" | "light" | "dark" | "light:only" | "dark:only"
|
||||
|
||||
language: 'en',
|
||||
textDirection: 'ltr',
|
||||
|
||||
dateFormatter: new Intl.DateTimeFormat('en', {
|
||||
year: 'numeric',
|
||||
month: 'short',
|
||||
day: 'numeric',
|
||||
timeZone: 'UTC',
|
||||
}),
|
||||
|
||||
googleAnalyticsId: false, // or "G-XXXXXXXXXX",
|
||||
googleSiteVerificationId: 'orcPxI47GSa-cRvY11tUe6iGg2IO_RPvnA1q95iEM3M',
|
||||
|
||||
@ -48,3 +58,4 @@ const CONFIG = {
|
||||
|
||||
export const SITE = { ...CONFIG, blog: undefined };
|
||||
export const BLOG = CONFIG.blog;
|
||||
export const DATE_FORMATTER = CONFIG.dateFormatter;
|
Reference in New Issue
Block a user