Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Style shared note children (#2505)
Matt168645cce90a
diff --git a/src/views/share/page.ejs b/src/views/share/page.ejsindex ab488525d6..cefd35b96d 100644--- a/src/views/share/page.ejs+++ b/src/views/share/page.ejs@@ -52,18 +52,19 @@<% if (note.hasChildren()) { %><nav id="childLinks" class="<% if (isEmpty) { %>grid<% } else { %>list<% } %>"><% if (!isEmpty) { %>- <hr>+ <div id="noteClippedFrom"><span>Child notes: </span>+ <ul>+ <% for (const childNote of note.getChildNotes()) { %>+ <li>+ <a href="<%= childNote.shareId %>"+ class="type-<%= childNote.type %>"><%= childNote.title %></a>+ </li>+ <% } %>+ </ul>+ </div><% } %>- <ul>- <% for (const childNote of note.getChildNotes()) { %>- <li>- <a href="<%= childNote.shareId %>"- class="type-<%= childNote.type %>"><%= childNote.title %></a>- </li>- <% } %>- </ul></nav><% } %></div>