Initiate site language variable

This commit is contained in:
Helen Chong 2024-10-02 19:40:10 +08:00
parent c473429dcd
commit 42f9a4a45a
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ export const siteAuthor = {
email: "contact@leilukin.com", email: "contact@leilukin.com",
url: siteUrl + "/about" url: siteUrl + "/about"
}; };
export const siteLocale = "en_MY";
export const siteLanguage = "en"; export const siteLanguage = "en";
export const siteLocale = "en_MY";
export const siteDescription = siteAuthor.name + "'s personal website."; export const siteDescription = siteAuthor.name + "'s personal website.";
export const feedPath = "/feed.xml"; export const feedPath = "/feed.xml";
export const feedUrl = siteUrl + feedPath; export const feedUrl = siteUrl + feedPath;

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" dir="ltr" id="top"> <html lang="{{ sitemeta.siteLanguage }}" dir="ltr" id="top">
<head> <head>
{# Meta data #} {# Meta data #}
{% block metaTitle %} {% block metaTitle %}