about 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 @@
1<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical"> \ No newline at end of file 1<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
2<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: *
2Disallow: 2Disallow:
3Host: alanpearce.eu 3Host: alanpearce.eu
4Sitemap: https://alanpearce.eu/sitemap.xml 4Sitemap: https://alanpearce.eu/sitemap.xml
5
6User-agent: googlebot
7Disallow: /