📝 Added css defer
This commit is contained in:
parent
9538a38da6
commit
3ceaeddc40
2 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ cat <<EOM
|
|||
<meta>name="description" content="">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.png">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
<link rel="preload" href="css/style.css" as="style" onload='this.onload=null,this.rel="stylesheet"' />
|
||||
<noscript><link rel="stylesheet" href="css/style.css" /></noscript>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ html(lang = "en")
|
|||
meta(name="description" content="")
|
||||
link(rel="icon" type="image/x-icon" href="favicon.png")
|
||||
link(rel="stylesheet" type="text/css" href="css/style.css")
|
||||
link(rel="preload" href="css/style.css" as="style" onload="this.onload=null;this.rel='stylesheet'")
|
||||
noscript
|
||||
link(rel="stylesheet" href="css/style.css")
|
||||
body
|
||||
script(src="./index.js" default)
|
||||
EOM
|
||||
Loading…
Add table
Add a link
Reference in a new issue