diff options
Diffstat (limited to '_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt')
-rw-r--r-- | _vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt b/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt new file mode 100644 index 0000000..f26f508 --- /dev/null +++ b/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +{{- if hugo.IsProduction | or (eq site.Params.env "production") }} +Disallow: +{{- else }} +Disallow: / +{{- end }} +Sitemap: {{ "sitemap.xml" | absURL }} |