Add date formatter, language and text direction settings

This commit is contained in:
prototypa
2023-01-08 12:28:59 -05:00
parent a210c72431
commit 8ce8421334
12 changed files with 121 additions and 65 deletions

View File

@ -149,11 +149,21 @@ const CONFIG = {
trailingSlash: false, // Generate permalinks with or without "/" at the end
title: 'Example - This is the homepage title of Example', // default seo title
description: 'This is the homepage description of Example', // default seo descriptio
description: 'This is the homepage description of Example', // default seo description
defaultImage: 'image.jpg', // default seo image
defaultTheme: 'system', // Values: "system" | "light" | "dark" | "light:only" | "dark:only"
language: 'en', // default language
textDirection: 'ltr', // default html text direction
dateFormatter: new Intl.DateTimeFormat('en', { // date format
year: 'numeric',
month: 'short',
day: 'numeric',
timeZone: 'UTC',
}),
googleAnalyticsId: false, // or "G-XXXXXXXXXX",
googleSiteVerificationId: false, // or some value,