feat: 💄 add theme-color for mobile chrome

This commit is contained in:
Sebin Nyshkim 2021-09-22 20:31:15 +02:00
parent c5e0a72665
commit 7b2382d660

View file

@ -21,8 +21,7 @@ module.exports = {
config.plugin("html").tap((args) => {
const meta = {
title: "Sebin Nyshkim - Reference Page",
desc:
"The official reference page for Sebin Nyshkim with picture references and in-depth character descriptions",
desc: "The official reference page for Sebin Nyshkim with picture references and in-depth character descriptions",
type: "website",
url: "https://ref.sebin-nyshkim.net",
favicon: "favicon.png",
@ -31,6 +30,7 @@ module.exports = {
card: "summary_large_image",
creator: "@SebinNyshkim",
},
themeColor: "#e74c3c",
};
const links = {
@ -59,6 +59,7 @@ module.exports = {
"og:url": meta.url,
"og:image": `${meta.url}/${meta.preview}`,
"og:description": meta.desc,
"theme-color": meta.themeColor,
};
return args;