From 3f08601913e88d5ef2a15989b78bc19351ea6119 Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Tue, 17 Sep 2024 23:19:13 +0300 Subject: [PATCH] cleanup: better SEO for Aplos Docs Another thing inspired from Duckquill, since, well, it looks good. Duckquill one love <3 --- docs/.vitepress/config.mts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 36e06de..09d01ad 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -96,11 +96,13 @@ export default defineConfig({ ["meta", { name: "og:type", content: "website" }], ["meta", { name: "og:locale", content: "en" }], ["meta", { name: "og:site_name", content: info.title }], + ["meta", { name: "og:title", content: info.title }], + ["meta", { name: "og:description", content: info.description }], [ "meta", { name: "og:image", - content: "https://aplos.gxbs.me/images/banner.png", + content: "https://aplos.gxbs.dev/images/banner.png", }, ], ["meta", { name: "twitter:card", content: "summary_large_image" }], @@ -108,7 +110,7 @@ export default defineConfig({ "meta", { name: "twitter:image", - content: "https://aplos.gxbs.me/images/banner.png", + content: "https://aplos.gxbs.dev/images/banner.png", }, ], ["meta", { name: "twitter:title", content: info.title }], @@ -119,10 +121,10 @@ export default defineConfig({ content: info.description, }, ], - ["meta", { name: "twitter:url", content: "https://aplos.gxbs.me" }], + ["meta", { name: "twitter:url", content: "https://aplos.gxbs.dev" }], ], sitemap: { - hostname: "https://aplos.gxbs.me", + hostname: "https://aplos.gxbs.dev", }, vite: { ssr: {