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:
satnaing
2023-12-20 10:50:45 +06:30
parent c526157118
commit cd02b047d2
4 changed files with 14 additions and 7 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
---
import { SITE } from "@config";
import { LOCALE, SITE } from "@config";
import "@styles/base.css";
import { ViewTransitions } from "astro:transitions";
@@ -28,7 +28,7 @@ const socialImageURL = new URL(
---
<!doctype html>
<html lang="en">
<html lang=`${LOCALE.lang ?? "en"}`>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />