mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:01:42 +08:00
fix: #133 update LOCALE config to cover overall locales
Update LOCALE inside config.ts to include html lang value and datetime locale values. Updated respective files and blog post. Closes: #133
This commit is contained in:
+4
-1
@@ -10,7 +10,10 @@ export const SITE: Site = {
|
||||
postPerPage: 3,
|
||||
};
|
||||
|
||||
export const LOCALE = ["en-EN"]; // set to [] to use the environment default
|
||||
export const LOCALE = {
|
||||
lang: "en", // html lang code. Set this empty and default will be "en"
|
||||
langTag: ["en-EN"], // BCP 47 Language Tags. Set this empty [] to use the environment default
|
||||
} as const;
|
||||
|
||||
export const LOGO_IMAGE = {
|
||||
enable: false,
|
||||
|
||||
Reference in New Issue
Block a user