Use export variables for site meta

This commit is contained in:
Helen Chong 2024-07-19 09:25:30 +08:00
parent 1c2522ba28
commit e4d0ed94c1
1 changed files with 11 additions and 13 deletions

View File

@ -1,13 +1,11 @@
export default { export const siteName = "Leilukin's Hub";
siteName: "Leilukin's Hub", export const siteDomain = "leilukin.com";
siteUrl: "https://leilukin.com" || "http://localhost:8080", export const siteUrl = "https://" + siteDomain || "http://localhost:8080";
siteDomain: "leilukin.com", export const siteAuthor = {
siteLocale: "en_MY", name: "Leilukin",
siteLanguage: "en", email: "contact@leilukin.com",
siteDescription: "Leilukin's personal website.", url: siteUrl + "/about"
siteAuthor: { };
name: "Leilukin", export const siteLocale = "en_MY";
email: "contact@leilukin.com", export const siteLanguage = "en";
url: () => this.siteUrl + "/about" export const siteDescription = siteAuthor.name + "'s personal website.";
}
}