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