all repos — website @ 3e42853918b518ea3fe9ad0f61b3fe119c56ea57

My website

De-prioritise syntax css for non-post pages
Alan Pearce alan@alanpearce.eu
Mon, 18 Jun 2018 21:19:39 +0200
commit

3e42853918b518ea3fe9ad0f61b3fe119c56ea57

parent

8f441b309f5e53283ddf914ed4d1266438794544

1 files changed, 9 insertions(+), 2 deletions(-)

jump to
M netlify.tomlnetlify.toml
@@ -42,5 +42,12 @@ 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'''+</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'''