From 48f43506586dd5c7d59853c07e4a247aaec8ecd3 Mon Sep 17 00:00:00 2001 From: Rem01Gaming Date: Thu, 21 Nov 2024 07:06:25 +0700 Subject: [PATCH] website: Use diffrent title for og:title Signed-off-by: Rem01Gaming --- website/docs/.vitepress/config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/.vitepress/config.mjs b/website/docs/.vitepress/config.mjs index 4646cfd..6d43176 100644 --- a/website/docs/.vitepress/config.mjs +++ b/website/docs/.vitepress/config.mjs @@ -26,7 +26,7 @@ export default defineConfig({ pageData.frontmatter.head.push(['meta', { name: "expected-hostname", content: "encore.rem01gaming.dev"}]) pageData.frontmatter.head.push(['meta', { name: "keywords", content: "Encore Tweaks, Encore Tweak, Magisk Module, performance module, Magisk, Gaming, Android, Module magisk, gaming performance" }]) pageData.frontmatter.head.push(['meta', { property: "og:type", content: "website"}]) - pageData.frontmatter.head.push(['meta', { property: "og:title", content: pageData.frontmatter.layout === 'home' ? pageData.title : `${pageData.title} | Encore Tweaks` }]) + pageData.frontmatter.head.push(['meta', { property: "og:title", content: pageData.frontmatter.layout === 'home' ? "Encore Tweaks Magisk Module: Special performance module for your device" : `${pageData.title} | Encore Tweaks` }]) pageData.frontmatter.head.push(['meta', { property: "og:locale", content: "en_US"}]) pageData.frontmatter.head.push(['meta', { property: "og:url", content: canonicalUrl }]) pageData.frontmatter.head.push(['meta', { property: "og:image", content: ogImage }]) @@ -34,7 +34,7 @@ export default defineConfig({ pageData.frontmatter.head.push(['meta', { property: "og:description", content: pageData.description }]) pageData.frontmatter.head.push(['meta', { property: "twitter:card", content: "summary_large_image"}]) pageData.frontmatter.head.push(['meta', { property: "twitter:image", content: ogImage }]) - pageData.frontmatter.head.push(['meta', { property: "twitter:title", content: pageData.frontmatter.layout === 'home' ? pageData.title : `${pageData.title} | Encore Tweaks` }]) + pageData.frontmatter.head.push(['meta', { property: "twitter:title", content: pageData.frontmatter.layout === 'home' ? "Encore Tweaks Magisk Module: Special performance module for your device" : `${pageData.title} | Encore Tweaks` }]) pageData.frontmatter.head.push(['meta', { property: "twitter:description", content: pageData.description }]) // Add structured data for the home page only