From 3aba700e3f44d18e8ca746f14453c865883c2316 Mon Sep 17 00:00:00 2001 From: He4eT Date: Sun, 4 Aug 2024 23:19:35 +0200 Subject: [PATCH] templates: merge styles and fonts partials --- src/layouts/default.ejs | 2 -- src/layouts/post.ejs | 3 --- src/partials/head-fonts.ejs | 1 - src/partials/head-styles.ejs | 1 + 4 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 src/partials/head-fonts.ejs diff --git a/src/layouts/default.ejs b/src/layouts/default.ejs index b654b10..4e65117 100644 --- a/src/layouts/default.ejs +++ b/src/layouts/default.ejs @@ -8,7 +8,6 @@ - <%- include('partials/head-fonts') %> <%- include('partials/head-styles') %> <% if (page.css) { %> @@ -18,7 +17,6 @@ <% } %> - <%- body %> <%- include('partials/analytics') %> diff --git a/src/layouts/post.ejs b/src/layouts/post.ejs index 5b76e18..587af26 100644 --- a/src/layouts/post.ejs +++ b/src/layouts/post.ejs @@ -8,12 +8,9 @@ - <%- include('partials/head-fonts') %> <%- include('partials/head-styles') %> - - <%- include('partials/stripes') %>
diff --git a/src/partials/head-fonts.ejs b/src/partials/head-fonts.ejs deleted file mode 100644 index d33b119..0000000 --- a/src/partials/head-fonts.ejs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/partials/head-styles.ejs b/src/partials/head-styles.ejs index 7dbea3a..8a34959 100644 --- a/src/partials/head-styles.ejs +++ b/src/partials/head-styles.ejs @@ -1,2 +1,3 @@ +