From caa07d24bc26c2109d091786d253f0c22f313c38 Mon Sep 17 00:00:00 2001 From: pattan Date: Wed, 8 May 2024 16:34:54 +0200 Subject: [PATCH] docs: sitemap for improved SEO --- .vitepress/config.js | 16 ++++------------ www/public/robots.txt | 7 ++++++- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.vitepress/config.js b/.vitepress/config.js index 43cf7d1..98ed091 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -5,7 +5,7 @@ export default defineConfig({ srcDir: "www", ignoreDeadLinks: true, title: "Advantage", - description: "Building User-First Ad Formats", + description: "High Impact Advertising - Reimagined", lastUpdated: true, //base: process.env.NODE_ENV === "production" ? "/advantage/" : "/", base: "/", @@ -24,6 +24,9 @@ export default defineConfig({ ['meta', { name: "theme-color", content: "#18181b", media: "(prefers-color-scheme: dark)" }], ['meta', { name: "theme-color", content: "#FFFFFF", media: "(prefers-color-scheme: light)" }], ], + sitemap: { + hostname: "https://get-advantage.org" + }, markdown: { theme: { light: "github-light", @@ -135,19 +138,8 @@ export default defineConfig({ text: `Hello World`, link: "/docs/examples/hello-world.md" }, - // { - // text: "Nuxt", - // link: "/docs/integration/examples/nuxt.md" - // }, - // { - // text: "Remix", - // link: "/docs/integration/examples/remix.md" - // } ] }, - //{ text: "React", link: "/docs/integration/react.md" }, - //{ text: "Vue", link: "/docs/integration/vue.md" }, - //{ text: "Svelte", link: "/docs/integration/svelte.md" } ] } } diff --git a/www/public/robots.txt b/www/public/robots.txt index 1f53798..7950167 100644 --- a/www/public/robots.txt +++ b/www/public/robots.txt @@ -1,2 +1,7 @@ User-agent: * -Disallow: / +Disallow: /cgi-bin/ +Disallow: /tmp/ +Disallow: /junk/ +Allow: / + +Sitemap: https://get-advantage.org/sitemap.xml \ No newline at end of file