Adjust metadata URLs

This commit is contained in:
Helen Chong 2024-04-14 14:49:04 +08:00
parent 49556c59bf
commit 4f25da2946
2 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
module.exports = { module.exports = {
siteName: "Leilukin's Hub", siteName: "Leilukin's Hub",
siteUrl: "https://leilukin.neocities.org/" || "http://localhost:8080", siteUrl: "https://leilukin.neocities.org" || "http://localhost:8080",
siteLocale: "en_MY", siteLocale: "en_MY",
siteDescription: "Leilukin's personal website.", siteDescription: "Leilukin's personal website.",
siteAuthor: { siteAuthor: {
name: "Leilukin", name: "Leilukin",
email: "leilukin@outlook.com", email: "leilukin@outlook.com",
url: "https://leilukin.neocities.org/about/" url: "https://leilukin.neocities.org/about"
} }
} }

View File

@ -1,6 +1,6 @@
{% metagen {% metagen
desc=desc or metadata.desc, desc=desc or metadata.desc,
url=url + page.url, url=sitemeta.siteUrl + page.url,
locale=sitemeta.siteLocale, locale=sitemeta.siteLocale,
site_name=sitemeta.siteName, site_name=sitemeta.siteName,
img=image, img=image,