Suppression de l'indexation du site de staging
This commit is contained in:
@ -154,3 +154,5 @@ deployment:
|
||||
s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||
|
||||
disableHugoGeneratorInject: true
|
||||
|
||||
enableRobotsTXT: true
|
||||
|
2
layouts/robots.txt
Normal file
2
layouts/robots.txt
Normal file
@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: {{ if ne hugo.Environment "production" }}/{{ end }}
|
Reference in New Issue
Block a user