Songs

<% if (recentlyLiked && recentlyLiked.length > 0) { %>

Trending

<% } %> <% if (mostPopular && mostPopular.length > 0) { %>

Most Popular

<% } %>
<% if (q || genre || uploadedBy) { %>clear<% } %>
<% if (genres.length > 0 || uploaders.length > 0) { %>
<% if (genres.length > 0) { %> <% } %> <% if (uploaders.length > 0) { %> <% } %>
<% } %>

<%= 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 + '&' : ''; %> <% } %>