Skip to content

Commit

Permalink
cleanup: better SEO for Aplos Docs
Browse files Browse the repository at this point in the history
Another thing inspired from Duckquill, since, well, it looks good.

Duckquill one love <3
  • Loading branch information
GabsEdits committed Sep 17, 2024
1 parent bf22180 commit 3f08601
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,21 @@ 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" }],
[
"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 }],
Expand All @@ -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: {
Expand Down

0 comments on commit 3f08601

Please sign in to comment.