special.ejs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html lang="<%= lang %>">
  3. <head>
  4. <%- include('common-meta') %>
  5. <link rel="alternate" href="https://art.pcoloring.com/en/special" hrefLang="en" />
  6. <link rel="alternate" href="https://art.pcoloring.com/zh/special" hrefLang="zh" />
  7. <link rel="alternate" href="https://art.pcoloring.com/es/special" hrefLang="es" />
  8. <link rel="alternate" href="https://art.pcoloring.com/pt/special" hrefLang="pt" />
  9. <link rel="alternate" href="https://art.pcoloring.com/ja/special" 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="image-grid">
  31. <% data.forEach(item=> { %>
  32. <div class="image-card">
  33. <a href="<%= item.uri %>"><img src="<%= item.thumb %>" alt="<%= item.title %>"></a>
  34. <div class="card-title"><%= item.title %></div>
  35. </div>
  36. <% }); %>
  37. </div>
  38. </div>
  39. <%- include('pagination') %>
  40. </body>
  41. </html>