Disallow Googlebot
Alan Pearce alan@alanpearce.eu
Wed, 10 Jul 2019 18:45:21 +0200
2 files changed, 5 insertions(+), 1 deletions(-)
M layouts/partials/hook_head_end.html → layouts/partials/hook_head_end.html
@@ -1,1 +1,2 @@-<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">+<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical"> +<meta name="googlebot" content="noindex">
M static/robots.txt → static/robots.txt
@@ -2,3 +2,6 @@ User-agent: * Disallow: Host: alanpearce.eu Sitemap: https://alanpearce.eu/sitemap.xml + +User-agent: googlebot +Disallow: /