<%= total %> song<%= total === 1 ? '' : 's' %><% if (q) { %> matching "<%= q %>"<% } %>
<% if (songs.length === 0) { %>No songs found.
<% } else { %> <%- include('../partials/song_list', { songs, selectable: true }) %> <% } %> <% if (totalPages > 1) { %> <% const qs = [ q ? 'q=' + encodeURIComponent(q) : '', genre ? 'genre=' + encodeURIComponent(genre) : '', uploadedBy ? 'uploader=' + encodeURIComponent(uploadedBy) : '', ].filter(Boolean).join('&'); const pref = qs ? qs + '&' : ''; %> <% } %>