summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2022-05-06 13:24:25 +0000
committerAlan Pearce2022-05-06 13:24:25 +0000
commit149558ac54679edd376fcaca21888f3e1f4809f5 (patch)
treec998319d0a1f80ed661af0d236686d1659294c76
parent2ddb96fbebcca27eca833096806931d039a8077c (diff)
downloadwebsite-149558ac54679edd376fcaca21888f3e1f4809f5.tar.xz
website-149558ac54679edd376fcaca21888f3e1f4809f5.zip
Delete netlify.toml
-rw-r--r--netlify.toml62
1 files changed, 0 insertions, 62 deletions
diff --git a/netlify.toml b/netlify.toml
deleted file mode 100644
index 39a659d..0000000
--- a/netlify.toml
+++ /dev/null
@@ -1,62 +0,0 @@
1[build]
2 publish = "public"
3 command = "zola build"
4 [build.environment]
5 ZOLA_VERSION = "0.12.2"
6
7[context.deploy-preview]
8command = "zola build --base-url $DEPLOY_PRIME_URL"
9
10[context.branch-deploy]
11command = "zola build --base-url $DEPLOY_PRIME_URL"
12
13[[redirects]]
14 from = "https://alanpearceeu.netlify.com/*"
15 to = "https://www.alanpearce.eu/:splat"
16 status = 301
17 force = true
18
19[[redirects]]
20 from = "https://www.alanpearce.uk/*"
21 to = "https://www.alanpearce.eu/:splat"
22 status = 301
23 force = true
24
25[[redirects]]
26 from = "https://alanpearce.uk/*"
27 to = "https://www.alanpearce.eu/:splat"
28 status = 301
29 force = true
30
31[[redirects]]
32 from = "http://www.alanpearce.uk/*"
33 to = "https://www.alanpearce.eu/:splat"
34 status = 301
35 force = true
36
37[[redirects]]
38 from = "http://alanpearce.uk/*"
39 to = "https://www.alanpearce.eu/:splat"
40 status = 301
41 force = true
42
43[[redirects]]
44 from = "/post/index.xml"
45 to = "/atom.xml"
46 status = 301
47
48[[headers]]
49 for = "/img/*"
50 [headers.values]
51 Cache-Control = "public, maxage=604800, stale-while-revalidate=600"
52
53[[headers]]
54 for = "/css/*"
55 [headers.values]
56 Cache-Control = "public, maxage=604800, stale-while-revalidate=600"
57
58[[headers]]
59 for = "/*"
60 [headers.values]
61 Link = '''
62</css/style.css>; rel=preload; as=style'''