diff --git a/package.json b/package.json index 1b94b9e61..11e67e8db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trilium.rocks", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "index.js", "scripts": { diff --git a/src/templates/page.ejs b/src/templates/page.ejs index f006bd86d..30ecaf442 100644 --- a/src/templates/page.ejs +++ b/src/templates/page.ejs @@ -67,8 +67,8 @@ const customServerYml = `- url: "{protocol}://{domain}:{port}/etapi" <%= note.title %><% if (note.noteId !== subRoot.note.noteId) { %> - <%= subRoot.note.title %><% } %> - + + @@ -95,9 +95,10 @@ content = content.replaceAll(headingRe, (...match) => { return match[0]; }); %> - +
- + + <% if (subRoot.note.hasRelation("shareLogo")) { %> /logo.svg" alt="Logo" /> <% } %> @@ -109,7 +110,7 @@ content = content.replaceAll(headingRe, (...match) => {
diff --git a/src/templates/tree_item.ejs b/src/templates/tree_item.ejs index 8b3f5ecc5..127c0a364 100644 --- a/src/templates/tree_item.ejs +++ b/src/templates/tree_item.ejs @@ -5,7 +5,7 @@ const linkHref = isExternalLink ? note.getLabelValue("shareExternal") : `./${not const target = isExternalLink ? ` target="_blank" rel="noopener noreferrer"` : ""; %> - <% if (note.noteId !== subRoot.noteId) { %> + <% if (note.noteId !== subRoot.note.noteId) { %> > <% if (note.hasVisibleChildren()) { %><% } %> <%= note.title %>