feat: Add template for robots.txt

This commit is contained in:
Simon 2020-11-25 17:53:12 +01:00
parent ef696aae40
commit 506e9abbff
2 changed files with 2 additions and 2 deletions

2
layouts/robots.txt Normal file
View File

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

View File

@ -1,2 +0,0 @@
User-agent: *
Disallow: /