summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 11:23:28 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-28 11:24:54 +0200
commit90dc05df869dd740c55505e6ce2148e8efe5462c (patch)
tree9e498158140a7b06fe166ca0bea37b6dc0ca4b43 /layouts
parentb17ccbd2fa987395d42313a81b2227f5ec8d88ac (diff)
downloadgohugo-theme-ed-90dc05df869dd740c55505e6ce2148e8efe5462c.tar.gz
Do not index 404.html page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/robots.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/robots.txt b/layouts/robots.txt
index 53082b7..eb66085 100644
--- a/layouts/robots.txt
+++ b/layouts/robots.txt
@@ -3,6 +3,7 @@
User-agent: *
{{- if eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }}
Allow: /
+Disallow: /404.html
Disallow: /thanks
Sitemap: {{ "/stemap.xml" | absURL }}