diff options
Diffstat (limited to 'themes/PaperMod/layouts/robots.txt')
-rw-r--r-- | themes/PaperMod/layouts/robots.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/PaperMod/layouts/robots.txt b/themes/PaperMod/layouts/robots.txt new file mode 100644 index 0000000..da3e7e0 --- /dev/null +++ b/themes/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 }} |