diff --git a/.vitepress/config/shared.ts b/.vitepress/config/shared.ts index 1bcd5e2..1bb2c9d 100644 --- a/.vitepress/config/shared.ts +++ b/.vitepress/config/shared.ts @@ -14,6 +14,9 @@ export const shared = defineConfig({ title: "ALT Mobile Wiki", titleTemplate: ':title — ALT Mobile Wiki', srcDir: './docs', + sitemap: { + hostname: 'https://altmobile.org' + }, vite: { plugins: [ UnoCSS(), diff --git a/docs/public/robots.txt b/docs/public/robots.txt index 1f53798..9e3abfc 100644 --- a/docs/public/robots.txt +++ b/docs/public/robots.txt @@ -1,2 +1,4 @@ User-agent: * -Disallow: / + +Host: https://altmobile.org +Sitemap: https://altmobile.org/sitemap.xml \ No newline at end of file