From 3def1a1e5732e1f4c16e40ddf8eafd119922945f Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 9 Jun 2025 13:37:38 +0300 Subject: [PATCH] chore(share): introduce theme script --- packages/share-theme/src/templates/page.ejs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/share-theme/src/templates/page.ejs b/packages/share-theme/src/templates/page.ejs index fcfcf4d23..15ba3efd5 100644 --- a/packages/share-theme/src/templates/page.ejs +++ b/packages/share-theme/src/templates/page.ejs @@ -57,6 +57,9 @@ const customServerYml = `- url: "{protocol}://{domain}:{port}/etapi" <% for (const cssRelation of note.getRelations("shareCss")) { %> <% } %> + <% if (!note.isLabelTruthy("shareOmitDefaultCss")) { %> + + <% } %> <% for (const jsRelation of note.getRelations("shareJs")) { %> <% } %>