Skip to content

Commit

Permalink
docs: sitemap for improved SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
pattan committed May 8, 2024
1 parent 3cc911f commit caa07d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
16 changes: 4 additions & 12 deletions .vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: "/",
Expand All @@ -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",
Expand Down Expand Up @@ -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" }
]
}
}
Expand Down
7 changes: 6 additions & 1 deletion www/public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
User-agent: *
Disallow: /
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /junk/
Allow: /

Sitemap: https://get-advantage.org/sitemap.xml

0 comments on commit caa07d2

Please sign in to comment.