From 6b0b18e0f5d10c0aa0a5b6b5f081280d694a7696 Mon Sep 17 00:00:00 2001 From: He4eT Date: Fri, 19 Jan 2024 15:29:26 +0100 Subject: [PATCH] css: preload --- src/layouts/default.ejs | 3 +-- src/layouts/post.ejs | 3 +-- src/partials/head-fonts.ejs | 1 + src/partials/head-styles.ejs | 2 ++ 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/partials/head-styles.ejs diff --git a/src/layouts/default.ejs b/src/layouts/default.ejs index 17f8604..97687fc 100644 --- a/src/layouts/default.ejs +++ b/src/layouts/default.ejs @@ -8,8 +8,7 @@ - - + <%- include('partials/head-styles') %> <%- include('partials/head-fonts') %> <% if (page.css) { %> diff --git a/src/layouts/post.ejs b/src/layouts/post.ejs index facd29d..2509f97 100644 --- a/src/layouts/post.ejs +++ b/src/layouts/post.ejs @@ -8,9 +8,8 @@ - - <%- include('partials/head-fonts') %> + <%- include('partials/head-styles') %> diff --git a/src/partials/head-fonts.ejs b/src/partials/head-fonts.ejs index 0adee77..9ee951d 100644 --- a/src/partials/head-fonts.ejs +++ b/src/partials/head-fonts.ejs @@ -1 +1,2 @@ + diff --git a/src/partials/head-styles.ejs b/src/partials/head-styles.ejs new file mode 100644 index 0000000..5fdbfed --- /dev/null +++ b/src/partials/head-styles.ejs @@ -0,0 +1,2 @@ + +