mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	chore(share): introduce theme script
This commit is contained in:
		| @@ -57,6 +57,9 @@ const customServerYml = `- url: "{protocol}://{domain}:{port}/etapi" | ||||
|     <% for (const cssRelation of note.getRelations("shareCss")) { %> | ||||
|         <link href="api/notes/<%= cssRelation.value %>/download" rel="stylesheet"> | ||||
|     <% } %> | ||||
|     <% if (!note.isLabelTruthy("shareOmitDefaultCss")) { %> | ||||
|         <script type="module" src="assets/scripts.js"></script> | ||||
|     <% } %> | ||||
|     <% for (const jsRelation of note.getRelations("shareJs")) { %> | ||||
|         <script type="module" src="api/notes/<%= jsRelation.value %>/download"></script> | ||||
|     <% } %> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user