mirror of https://github.com/grpc/grpc.io.git
Add robots.txt (#652)
This commit is contained in:
parent
adf2c6720d
commit
4d859cf2ea
|
|
@ -7,6 +7,7 @@ pygmentsCodeFences: true
|
|||
theme: ['docsy']
|
||||
|
||||
enableGitInfo: true
|
||||
enableRobotsTXT: true
|
||||
|
||||
contentDir: 'content/en'
|
||||
defaultContentLanguage: 'en'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Daily builds
|
||||
robots: noindex, nofollow
|
||||
weight: 90
|
||||
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Daily builds
|
||||
robots: noindex, nofollow
|
||||
weight: 90
|
||||
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Daily builds
|
||||
robots: noindex, nofollow
|
||||
weight: 90
|
||||
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Daily builds
|
||||
robots: noindex, nofollow
|
||||
weight: 90
|
||||
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
|
||||
---
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
User-agent: *
|
||||
Disallow: /get_grpcurl
|
||||
{{ range .Pages -}}
|
||||
{{ if in (lower .Params.robots) "noindex" -}}
|
||||
Disallow: {{ .RelPermalink }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
Loading…
Reference in New Issue