De-prioritise syntax css for non-post pages
Alan Pearce alan@alanpearce.eu
Mon, 18 Jun 2018 21:19:39 +0200
1 files changed, 9 insertions(+), 2 deletions(-)
jump to
M netlify.toml → netlify.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'''