Skip to content

Commit

Permalink
Revert "website: Use diffrent title for og:title"
Browse files Browse the repository at this point in the history
This reverts commit 48f4350.
  • Loading branch information
Rem01Gaming committed Nov 23, 2024
1 parent c908a9c commit 3930715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ 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' ? "Encore Tweaks Magisk Module: Special performance module for your device" : `${pageData.title} | Encore Tweaks` }])
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:locale", content: "en_US"}])
pageData.frontmatter.head.push(['meta', { property: "og:url", content: canonicalUrl }])
pageData.frontmatter.head.push(['meta', { property: "og:image", content: ogImage }])
pageData.frontmatter.head.push(['meta', { property: "og:site_name", content: "Encore Tweaks"}])
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' ? "Encore Tweaks Magisk Module: Special performance module for your device" : `${pageData.title} | Encore Tweaks` }])
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:description", content: pageData.description }])

// Add structured data for the home page only
Expand Down

0 comments on commit 3930715

Please sign in to comment.