summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
authorAlan Pearce2018-06-18 21:19:39 +0200
committerAlan Pearce2018-06-18 21:28:55 +0200
commit3e42853918b518ea3fe9ad0f61b3fe119c56ea57 (patch)
treea936d0f1f96ae06ada6cb5037c4320b77c9b6427 /netlify.toml
parent8f441b309f5e53283ddf914ed4d1266438794544 (diff)
downloadwebsite-3e42853918b518ea3fe9ad0f61b3fe119c56ea57.tar.lz
website-3e42853918b518ea3fe9ad0f61b3fe119c56ea57.tar.zst
website-3e42853918b518ea3fe9ad0f61b3fe119c56ea57.zip
De-prioritise syntax css for non-post pages
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml11
1 files changed, 9 insertions, 2 deletions
diff --git a/netlify.toml b/netlify.toml
index bbd316c..5488f77 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -42,5 +42,12 @@
   [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
+</css/hyde.css>; rel=preload; as=stylesheet'''
+
+[[headers]]
+  for = "/post/*"
+  [headers.values]
+    Link = '''
+</css/poole.css>; rel=preload; as=stylesheet,
+</css/hyde.css>; rel=preload; as=stylesheet
+</css/syntax.css>; rel=preload; as=stylesheet'''
\ No newline at end of file