diff --git a/themes/arm-design-system-hugo-theme/layouts/robots.txt b/themes/arm-design-system-hugo-theme/layouts/robots.txt new file mode 100644 index 00000000..6db75599 --- /dev/null +++ b/themes/arm-design-system-hugo-theme/layouts/robots.txt @@ -0,0 +1,10 @@ +User-agent: * + +# Allow the specific page and any URLs with the 'package' parameter +Allow: / +Allow: /*?package=* + +# Disallow everything else +Disallow: /*? + +Sitemap: https://www.arm.com/developer-hub/ecosystem-dashboard/sitemap.xml