mirror of
https://github.com/zadam/trilium.git
synced 2026-01-16 11:34:25 +01:00
18 lines
400 B
Plaintext
18 lines
400 B
Plaintext
<p>
|
|
<% if (activeNote.noteId === note.noteId) { %>
|
|
<strong><%= note.title %></strong>
|
|
<% } else { %>
|
|
<a href="./<%= note.noteId %>"><%= note.title %></a>
|
|
<% } %>
|
|
</p>
|
|
|
|
<% if (note.hasChildren()) { %>
|
|
<ul>
|
|
<% note.getChildNotes().forEach(function (childNote) { %>
|
|
<li>
|
|
<%- include('tree_item', {note: childNote}) %>
|
|
</li>
|
|
<% }) %>
|
|
</ul>
|
|
<% } %>
|