feat: Add template for robots.txt
This commit is contained in:
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 }}
|
@ -1,2 +0,0 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
Reference in New Issue
Block a user