summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/hook_head_end.html3
-rw-r--r--static/robots.txt3
2 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html
index 3442304..13e0ec6 100644
--- a/layouts/partials/hook_head_end.html
+++ b/layouts/partials/hook_head_end.html
@@ -1 +1,2 @@
-<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
\ No newline at end of file
+<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
+<meta name="googlebot" content="noindex">
diff --git a/static/robots.txt b/static/robots.txt
index 4acd2e6..ef30e6f 100644
--- a/static/robots.txt
+++ b/static/robots.txt
@@ -2,3 +2,6 @@ User-agent: *
 Disallow:
 Host: alanpearce.eu
 Sitemap: https://alanpearce.eu/sitemap.xml
+
+User-agent: googlebot
+Disallow: /