mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 10:39:00 +01:00
fix(export/share): asset path for styles and scripts
This commit is contained in:
parent
212956201a
commit
f4468706ef
@ -19,8 +19,6 @@ export default class ShareThemeExportProvider extends ZipExportProvider {
|
||||
prepareMeta(metaFile: NoteMetaFile): void {
|
||||
|
||||
const assets = [
|
||||
"style.css",
|
||||
"script.js",
|
||||
"boxicons.css",
|
||||
"boxicons.eot",
|
||||
"boxicons.woff2",
|
||||
|
||||
@ -70,11 +70,10 @@ export function renderNoteForExport(note: BNote, parentBranch: BBranch, basePath
|
||||
subRoot,
|
||||
rootNoteId: parentBranch.noteId,
|
||||
cssToLoad: [
|
||||
`${basePath}style.css`,
|
||||
`${basePath}boxicons.css`
|
||||
`${basePath}assets/styles.css`,
|
||||
],
|
||||
jsToLoad: [
|
||||
`${basePath}script.js`
|
||||
`${basePath}assets/scripts.js`
|
||||
],
|
||||
logoUrl: `${basePath}icon-color.svg`,
|
||||
ancestors
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user