mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 19:19:03 +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 {
|
prepareMeta(metaFile: NoteMetaFile): void {
|
||||||
|
|
||||||
const assets = [
|
const assets = [
|
||||||
"style.css",
|
|
||||||
"script.js",
|
|
||||||
"boxicons.css",
|
"boxicons.css",
|
||||||
"boxicons.eot",
|
"boxicons.eot",
|
||||||
"boxicons.woff2",
|
"boxicons.woff2",
|
||||||
|
|||||||
@ -70,11 +70,10 @@ export function renderNoteForExport(note: BNote, parentBranch: BBranch, basePath
|
|||||||
subRoot,
|
subRoot,
|
||||||
rootNoteId: parentBranch.noteId,
|
rootNoteId: parentBranch.noteId,
|
||||||
cssToLoad: [
|
cssToLoad: [
|
||||||
`${basePath}style.css`,
|
`${basePath}assets/styles.css`,
|
||||||
`${basePath}boxicons.css`
|
|
||||||
],
|
],
|
||||||
jsToLoad: [
|
jsToLoad: [
|
||||||
`${basePath}script.js`
|
`${basePath}assets/scripts.js`
|
||||||
],
|
],
|
||||||
logoUrl: `${basePath}icon-color.svg`,
|
logoUrl: `${basePath}icon-color.svg`,
|
||||||
ancestors
|
ancestors
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user