Skip to content

Build your personal knowledge base with Trilium Notes

chore(share): remove redundant script import

Elian Doran3cd4b1b67eb4
diff --git a/packages/share-theme/src/templates/page.ejs b/packages/share-theme/src/templates/page.ejs
index b3f8f2d196..d443def7ee 100644
--- a/packages/share-theme/src/templates/page.ejs
+++ b/packages/share-theme/src/templates/page.ejs
@@ -10,7 +10,6 @@
<link rel="shortcut icon" href="<% if (note.hasRelation("shareFavicon")) { %>api/notes/<%= note.getRelation("shareFavicon").value %>/download<% } else { %>../favicon.ico<% } %>">
<script src="<%= appPath %>/share.js" type="module"></script>
- <link href="../<%= assetPath %>/libraries/normalize.min.css" rel="stylesheet">
<% if (!note.isLabelTruthy("shareOmitDefaultCss")) { %>
<link href="<%= assetPath %>/stylesheets/share.css" rel="stylesheet">
<% } %>
@@ -51,9 +50,6 @@ const customServerYml = `- url: "{protocol}://{domain}:{port}/etapi"
</script>
<% } %>
- <% if (note.type === "text" || note.type === "book") { %>
- <link href="../<%= assetPath %>/libraries/ckeditor/ckeditor-content.css" rel="stylesheet">
- <% } %>
<% for (const cssRelation of note.getRelations("shareCss")) { %>
<link href="api/notes/<%= cssRelation.value %>/download" rel="stylesheet">
<% } %>