search.ejs 405 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <%- include('head') %>
  5. </head>
  6. <body>
  7. <%- include('header') %>
  8. <div class="content">
  9. <div class="image-grid">
  10. <% data.forEach(item => { %>
  11. <a href="/<%= lang %>/detail/<%= item._id %>"><img src="<%= item.thumb %>" alt="<%= item.name %>" ></a>
  12. <% }); %>
  13. </div>
  14. </div>
  15. <%- include('pagination') %>
  16. </body>
  17. </html>