about summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
authorAlan Pearce2018-06-18 20:54:25 +0200
committerAlan Pearce2018-06-18 21:01:45 +0200
commit8f441b309f5e53283ddf914ed4d1266438794544 (patch)
tree1597931e6cba53f3404719deb5a2a2ca65c4e99f /netlify.toml
parent9ce5443507d93e6bd29fdab3269965d3cdff28ca (diff)
downloadwebsite-8f441b309f5e53283ddf914ed4d1266438794544.tar.lz
website-8f441b309f5e53283ddf914ed4d1266438794544.tar.zst
website-8f441b309f5e53283ddf914ed4d1266438794544.zip
Enable css preload/push
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml10
1 files changed, 9 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index daedd90..bbd316c 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -35,4 +35,12 @@
   from = "http://alanpearce.co.uk/*"
   to = "https://www.alanpearce.uk/:splat"
   status = 301
-  force = true
\ No newline at end of file
+  force = true
+
+[[headers]]
+  for = "/*"
+  [headers.values]
+    Link = '''
+</css/poole.css>; rel=preload; as=stylesheet,
+</css/syntax.css>; rel=preload; as=stylesheet,
+</css/hyde.css>; rel=preload; as=stylesheet'''
\ No newline at end of file