<% if (note.type === 'text' || note.type === 'book') { %> <% } %> <%= note.title %>

<%= note.title %>

<% if (note.type === 'text') { %>
<%- note.getContent() %>
<% } %>