<% let searchText = parse_url().searchKey.search_text %>
<% let sel_order = parse_url().searchKey.order || 'title' %>
Sort By

Showing <% if(card_count > 8) { %> <%= start + 1 %> to <%= end %> of <% } %> <%= card_count %> Results

<% _.forEach(data, function(val) { %>
icon
...
<%= val.title %>
<% }) %>
<% if(pages.length> 1) { %> <% var curr_page = parse_url().searchKey.page ? parseInt(parse_url().searchKey.page) : 1 %> <% } %>