summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-22 15:06:38 +0200
committerAlan Pearce2018-06-22 15:06:38 +0200
commit993036f636b446c60ad4dfdb9fb5bc911b686d4a (patch)
tree55fd29140191da893909e005fdae1dab6f20d408
parentdc7dfc77d7ed088d198cbef6fee6a98ad8ef157c (diff)
downloadwebsite-993036f636b446c60ad4dfdb9fb5bc911b686d4a.tar.xz
website-993036f636b446c60ad4dfdb9fb5bc911b686d4a.zip
Update to .eu
-rw-r--r--config.toml2
-rw-r--r--netlify.toml36
-rw-r--r--static/robots.txt4
3 files changed, 33 insertions, 9 deletions
diff --git a/config.toml b/config.toml
index 3450dc2..4c9a89a 100644
--- a/config.toml
+++ b/config.toml
@@ -1,5 +1,5 @@
1languageCode = "en-gb" 1languageCode = "en-gb"
2baseurl = "https://www.alanpearce.uk" 2baseurl = "https://www.alanpearce.eu"
3title = "Alan Pearce" 3title = "Alan Pearce"
4theme = "hyde" 4theme = "hyde"
5pygmentsUseClasses = true 5pygmentsUseClasses = true
diff --git a/netlify.toml b/netlify.toml
index 6b14df6..372d71e 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -11,32 +11,56 @@
11 HUGO_ENABLEGITINFO = "true" 11 HUGO_ENABLEGITINFO = "true"
12 12
13[[redirects]] 13[[redirects]]
14 from = "https://alanpearceuk.netlify.com/*" 14 from = "https://alanpearceeu.netlify.com/*"
15 to = "https://www.alanpearce.uk/:splat" 15 to = "https://www.alanpearce.eu/:splat"
16 status = 301 16 status = 301
17 force = true 17 force = true
18 18
19[[redirects]] 19[[redirects]]
20 from = "https://www.alanpearce.co.uk/*" 20 from = "https://www.alanpearce.co.uk/*"
21 to = "https://www.alanpearce.uk/:splat" 21 to = "https://www.alanpearce.eu/:splat"
22 status = 301 22 status = 301
23 force = true 23 force = true
24 24
25[[redirects]] 25[[redirects]]
26 from = "https://alanpearce.co.uk/*" 26 from = "https://alanpearce.co.uk/*"
27 to = "https://www.alanpearce.uk/:splat" 27 to = "https://www.alanpearce.eu/:splat"
28 status = 301 28 status = 301
29 force = true 29 force = true
30 30
31[[redirects]] 31[[redirects]]
32 from = "http://www.alanpearce.co.uk/*" 32 from = "http://www.alanpearce.co.uk/*"
33 to = "https://www.alanpearce.uk/:splat" 33 to = "https://www.alanpearce.eu/:splat"
34 status = 301 34 status = 301
35 force = true 35 force = true
36 36
37[[redirects]] 37[[redirects]]
38 from = "http://alanpearce.co.uk/*" 38 from = "http://alanpearce.co.uk/*"
39 to = "https://www.alanpearce.uk/:splat" 39 to = "https://www.alanpearce.eu/:splat"
40 status = 301
41 force = true
42
43[[redirects]]
44 from = "https://www.alanpearce.uk/*"
45 to = "https://www.alanpearce.eu/:splat"
46 status = 301
47 force = true
48
49[[redirects]]
50 from = "https://alanpearce.uk/*"
51 to = "https://www.alanpearce.eu/:splat"
52 status = 301
53 force = true
54
55[[redirects]]
56 from = "http://www.alanpearce.uk/*"
57 to = "https://www.alanpearce.eu/:splat"
58 status = 301
59 force = true
60
61[[redirects]]
62 from = "http://alanpearce.uk/*"
63 to = "https://www.alanpearce.eu/:splat"
40 status = 301 64 status = 301
41 force = true 65 force = true
42 66
diff --git a/static/robots.txt b/static/robots.txt
index bab0950..4acd2e6 100644
--- a/static/robots.txt
+++ b/static/robots.txt
@@ -1,4 +1,4 @@
1User-agent: * 1User-agent: *
2Disallow: 2Disallow:
3Host: alanpearce.uk 3Host: alanpearce.eu
4Sitemap: https://alanpearce.uk/sitemap.xml 4Sitemap: https://alanpearce.eu/sitemap.xml