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