pages_detail.liquid 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!DOCTYPE html>
  2. <html lang="{{site.dist.country}}">
  3. <head><meta charset="UTF-8">
  4. <title>{{page.seo_title}}</title>
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <meta name="description" content="{{ site.dist.seo_description | strip_html| strip_newlines }}" />
  7. <link rel="canonical" href="{{site.current_url}}" />
  8. <meta property="og:locale" content="{{site.dist.country_alpha_2l}}" />
  9. <meta property="og:type" content="website" />
  10. <meta property="og:title" content="{{ site.dist.seo_title }}" />
  11. <meta property="og:description" content="{{ site.dist.seo_description | strip_html| strip_newlines }}" />
  12. <meta property="og:url" content="{{site.current_url}}" />
  13. <meta name="twitter:card" content="summary_large_image" />
  14. <link rel='shortlink' href='{{site.current_url}}' />
  15. <link rel="stylesheet" href="{{ site.asset_base_url}}static/tpl/screenprotector/css/css.css?ver=0705">
  16. <link rel="stylesheet" href="{{ site.asset_base_url}}static/tpl/screenprotector/css/swiper-bundle.min.css?ver=0705">
  17. <script src="{{ site.asset_base_url}}static/tpl/screenprotector/js/jquery.min.js"></script>
  18. <script src="{{ site.asset_base_url}}static/tpl/screenprotector/js/swiper-bundle.min.js"></script>
  19. </head>
  20. <body>
  21. {% include '_header.liquid' %}
  22. <section class="news-header">
  23. <div class="section-wrapper">
  24. <h1 class="page-title">{{ page.title | raw }}</h1>
  25. <div class="breadcrumb-wrapper">
  26. {% for breadcrumb in breadcrumbs %}
  27. <a href="{{ breadcrumb.url }}">
  28. {{ breadcrumb.name }}
  29. </a>
  30. {% if forloop.index != forloop.length %}
  31. <span>/</span>
  32. {% endif %}
  33. {% endfor %}</div>
  34. </div>
  35. </section>
  36. <section class="news-list-page">
  37. <div class="section-wrapper">
  38. <div class="container">
  39. <aside class="recent">
  40. <h2>Recent post</h2>
  41. <ul class="title-block">
  42. {% for item in recent_pages %}
  43. <li> <a href="/pages/{% if item.slug %}{{ item.slug }}{% else %}{{ item.id }}{% endif %}" title="{{ item.title | strip_html }}">{{ item.title | strip_html }}</a></li>
  44. {% endfor %}
  45. </ul>
  46. </aside>
  47. <div class="news-details">
  48. <div class="news-details-content">
  49. <h2 class="entry-title"> {{ page.title | raw }}</h2>
  50. <div class="entry-meta"><time class="entry-time"> {{page.post_date}}</time> by <span class="entry-author"><span class="entry-author-name">{{site.dist.site_name}}</span></span></div>
  51. <div class="entry-content">
  52. {{page.content | raw }}
  53. </div>
  54. </div>
  55. <div class="pagination">
  56. <!-- Previous Page Link -->
  57. {% if paginator.previous_page %}
  58. <div class="pre"><a href="{{ paginator.previous_page_url }}" title="{{ paginator.previous_page_title }}">{{ paginator.previous_page_title }}</a></div>
  59. {% else %}
  60. {% endif %}
  61. <!-- Next Page Link -->
  62. {% if paginator.next_page %}
  63. <div class="next"><a href="{{ paginator.next_page_url }}" title="{{ paginator.next_page_title }}">{{ paginator.next_page_title }}</a></div>
  64. {% else %}
  65. {% endif %}
  66. </div>
  67. </div>
  68. </div><!--container-->
  69. </div>
  70. </section>
  71. {% include '__contact.liquid' %}
  72. {% include '_footer.liquid' %}
  73. </body>
  74. </html>