Suppression de l'indexation du site de staging

This commit is contained in:
2022-07-19 14:39:00 +02:00
parent 5337c71d49
commit 7f97cfdd1e
2 changed files with 4 additions and 0 deletions

2
layouts/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: {{ if ne hugo.Environment "production" }}/{{ end }}