From 90dc05df869dd740c55505e6ce2148e8efe5462c Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 May 2022 11:23:28 +0200 Subject: Do not index 404.html page --- layouts/robots.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'layouts') 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 }} -- cgit v1.2.3