albums.ejs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="<%= lang %>">
  3. <head>
  4. <%- include('common-meta') %>
  5. <link rel="alternate" href="https://art.pcoloring.com/en/albums" hrefLang="en" />
  6. <link rel="alternate" href="https://art.pcoloring.com/zh/albums" hrefLang="zh" />
  7. <link rel="alternate" href="https://art.pcoloring.com/es/albums" hrefLang="es" />
  8. <link rel="alternate" href="https://art.pcoloring.com/pt/albums" hrefLang="pt" />
  9. <link rel="alternate" href="https://art.pcoloring.com/ja/albums" hrefLang="ja" />
  10. <link rel="stylesheet" href="/stylesheets/styles.css">
  11. <link rel="stylesheet" href="/stylesheets/header.css">
  12. </head>
  13. <!-- Google tag (gtag.js) -->
  14. <script async src="https://www.googletagmanager.com/gtag/js?id=G-JBGGVGLHTP"></script>
  15. <script>
  16. window.dataLayer = window.dataLayer || [];
  17. function gtag() { dataLayer.push(arguments); }
  18. gtag('js', new Date());
  19. gtag('config', 'G-JBGGVGLHTP');
  20. </script>
  21. <body>
  22. <%- include('header') %>
  23. <h1 style="display: flex; justify-content: center; padding: 10px; color: purple">
  24. <%= title %>
  25. </h1>
  26. <h2 style="display: flex; justify-content: center; padding: 0px 10px 10px 10px; color: #333">
  27. <%= description %>
  28. </h2>
  29. <div class="content">
  30. <div class="album-grid">
  31. <% data.forEach(album=> { %>
  32. <div class="album-grid-card">
  33. <a href="/<%= lang %>/album/<%= album._id %>"><img src="<%= album.cover %>" class="album-cover-img"
  34. alt="<%= album.title %>"></a>
  35. <div style="padding: 0px 0px 4px 4px; font-size: 14px;">
  36. <%= album.title %>
  37. </div>
  38. </div>
  39. <% }); %>
  40. </div>
  41. </div>
  42. </body>
  43. </html>