% if (note.type === 'text' || note.type === 'book') { %>
<% } %>
<%= note.title %>
<%- include('share-tree-item', {note: subRoot, activeNote: note}) %>
<%= note.title %>
<% if (note.type === 'text') { %>
<%- note.getContent() %>
<% } %>