summaryrefslogtreecommitdiff
path: root/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt
diff options
context:
space:
mode:
authorChristian Segundo2024-07-25 02:12:22 +0200
committerChristian Segundo2024-07-28 12:58:19 +0200
commit15e3dedcee1d0830871ffc692143318a87646101 (patch)
tree3e15f8a3f5082b7df89d208a4c8189b8ad453998 /_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt
parenta248abee10bbcda6282982d72788acf689deb7aa (diff)
downloadcheck-caps-lock-15e3dedcee1d0830871ffc692143318a87646101.tar.gz
wip
Diffstat (limited to '_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt')
-rw-r--r--_vendor/github.com/adityatelange/hugo-PaperMod/layouts/robots.txt7
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 }}