diff --git a/docs/website/docusaurus.config.js b/docs/website/docusaurus.config.js index 0eb8de092ee..d5b0d89049d 100644 --- a/docs/website/docusaurus.config.js +++ b/docs/website/docusaurus.config.js @@ -6,7 +6,7 @@ const generateAlgoliKey = () => "ce5b8e1e4d0d35ff587caf75ac404df4" const config = { title: "Sealos: 专为云原生开发打造的以 K8s 为内核的云操作系统", tagline: "Kubernetes-kernel-based cloud os! Let's sealos run kubernetes", - url: "https://sealos.io/", + url: process.env.SEALOS_LANG === "zh-Hans" ? "https://sealos.run/" : "https://sealos.io/", baseUrl: "/", onBrokenLinks: "warn", onBrokenMarkdownLinks: "warn", diff --git a/docs/website/static/robots.txt b/docs/website/static/robots.txt new file mode 100644 index 00000000000..67a7f5c36f5 --- /dev/null +++ b/docs/website/static/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +Disallow: + +Sitemap: https://sealos.io/sitemap.xml +Sitemap: https://sealos.io/zh-Hans/sitemap.xml +Sitemap: https://sealos.run/sitemap.xml +Sitemap: https://sealos.run/en/sitemap.xml