mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
css: preload
This commit is contained in:
parent
efadb30bdb
commit
6b0b18e0f5
4 changed files with 5 additions and 4 deletions
|
|
@ -8,8 +8,7 @@
|
|||
</title>
|
||||
<meta name="description" content="<%= page.description %>">
|
||||
|
||||
<link rel="stylesheet" href="/css/typography.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<%- include('partials/head-styles') %>
|
||||
<%- include('partials/head-fonts') %>
|
||||
|
||||
<% if (page.css) { %>
|
||||
|
|
|
|||
|
|
@ -8,9 +8,8 @@
|
|||
</title>
|
||||
<meta name="description" content="<%= page.description %>">
|
||||
|
||||
<link rel="stylesheet" href="/css/typography.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<%- include('partials/head-fonts') %>
|
||||
<%- include('partials/head-styles') %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Open+Sans+Condensed:wght@700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap">
|
||||
|
|
|
|||
2
src/partials/head-styles.ejs
Normal file
2
src/partials/head-styles.ejs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<link rel="stylesheet" href="/css/typography.css">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
Loading…
Add table
Add a link
Reference in a new issue