From ddd43a2715756b449480832e30ed15f5db71faf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=A9=D0=B0=D0=B2=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2?= Date: Tue, 6 Aug 2024 22:42:10 +0300 Subject: [PATCH] config: open for indexing in search engines --- .vitepress/config/shared.ts | 3 +++ docs/public/robots.txt | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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