chore(docs.angularjs.org): allow crawling but not indexing of partials/
The sitemap.xml might also prevent the indexing, as the partials are not listed. Related to #16432 Closes #16457
This commit is contained in:
committed by
Martin Staffa
parent
9645a08b61
commit
3eabaab009
@@ -1,7 +1,6 @@
|
||||
User-agent: *
|
||||
|
||||
Disallow: /examples/
|
||||
Disallow: /partials/
|
||||
Disallow: /ptore2e/
|
||||
Disallow: /Error404.html
|
||||
|
||||
|
||||
@@ -26,6 +26,15 @@
|
||||
"source": "**/*!(.@(jpg|jpeg|gif|png|html|js|map|json|css|svg|ttf|txt|woff|woff2|eot|xml))",
|
||||
"function": "sendFile"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "/partials/**",
|
||||
"headers" : [{
|
||||
"key" : "X-Robots-Tag",
|
||||
"value" : "noindex"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user