diff --git a/_config.yml b/_config.yml index b9ec22c145..b24657cd8d 100644 --- a/_config.yml +++ b/_config.yml @@ -19,7 +19,7 @@ gems: webrick: headers: Cache-Control: 600 - + defaults: - scope: @@ -28,3 +28,35 @@ defaults: values: layout: docs archiveserver: "http://54.71.194.30" + - + scope: + path: "datacenter/dtr/2.0" + values: + hide_from_sitemap: true + dtr_latest: 2.1 + - + scope: + path: "datacenter/ucp/1.1" + values: + hide_from_sitemap: true + ucp_latest: 2.0 + - + scope: + path: "apidocs/v1.3.3" + values: + hide_from_sitemap: true + - + scope: + path: "apidocs/v1.4.0" + values: + hide_from_sitemap: true + - + scope: + path: "apidocs/v2.0.0" + values: + hide_from_sitemap: true + - + scope: + path: "apidocs/v2.0.1" + values: + hide_from_sitemap: true diff --git a/_includes/noindex.html b/_includes/noindex.html new file mode 100644 index 0000000000..f5105bd8c7 --- /dev/null +++ b/_includes/noindex.html @@ -0,0 +1 @@ + diff --git a/_layouts/docs.html b/_layouts/docs.html index b48a045d07..972f1ade70 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -75,6 +75,7 @@ ng\:form { {% seo %} +{% if page.hide_from_sitemap %}{% endif %}