pages_detail.liquid 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <!DOCTYPE html>
  2. <html lang="{{site.dist.country_lang}}">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{{page.seo_title}}</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  7. <meta name="keywords" content="{{page.seo_keywords | strip_html| strip_newlines }}" />
  8. <meta name="description" content="{{page.seo_description | strip_html| strip_newlines }}" />
  9. <link rel="canonical" href="{{site.current_url}}" />
  10. <meta property="og:locale" content="en" />
  11. <meta property="og:type" content="website" />
  12. <meta property="og:title" content="{{page.seo_title}}" />
  13. <meta property="og:description" content="{{page.seo_title | strip_html| strip_newlines }}" />
  14. <meta property="og:url" content="{{site.current_url}}" />
  15. <meta name="twitter:card" content="summary_large_image" />
  16. <link rel='shortlink' href="{{site.current_url}}" />
  17. <!-- Bootstrap CSS -->
  18. <link href="{{ site.asset_base_url }}static/tpl/screen_protector_solutions/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  19. <!-- Font Awesome para ícones sociais -->
  20. <link href="{{ site.asset_base_url }}static/tpl/screen_protector_solutions/lib/fontawesome/css/all.min.css" rel="stylesheet">
  21. <!-- CSS Personalizado -->
  22. <link rel="stylesheet" href="{{ site.asset_base_url }}static/tpl/screen_protector_solutions/lib/swiper/css/swiper.min.css">
  23. <link href="{{ site.asset_base_url }}static/tpl/screen_protector_solutions/css/styles.css" rel="stylesheet">
  24. </head>
  25. <body>
  26. {% include '_header.liquid' %}
  27. <div class="container py-5 article-detail">
  28. <div class="row g-4">
  29. <!-- 面包屑导航 -->
  30. <nav class="nav-orange">
  31. <div class="container">
  32. <div class="d-flex breadcrumb">
  33. {% for breadcrumb in breadcrumbs %}
  34. <a href="{{ breadcrumb.url }}" class="nav-link {% if forloop.last == false %}add-icon{% endif %} ">
  35. {{ breadcrumb.name }}
  36. </a>
  37. {% endfor %}
  38. </div>
  39. </div>
  40. </nav>
  41. </div>
  42. <div class="row g-4">
  43. <!-- 主内容区 -->
  44. <div class="col-lg-12">
  45. <article class="card article-content">
  46. <div class="card-body">
  47. <!-- 文章标题 -->
  48. <h1 class="mb-4 fw-bold display-6">{{ page.title | raw }}</h1>
  49. <!-- 文章元信息 -->
  50. <div class="d-flex justify-content-between mb-4 text-muted">
  51. <div>
  52. <span><i class="fas fa-clock me-1"></i>{{ page.post_date | date: '%Y-%m-%d' }}</span>
  53. </div>
  54. </div>
  55. <!-- 文章正文 -->
  56. <div class="article-body">
  57. {{page.content | raw }}
  58. </div>
  59. <!-- 分页导航 -->
  60. <nav class="mt-5 text-center">
  61. <ul class="pagination justify-content-center post-pagination">
  62. {% if paginator.previous_page %}
  63. <li class="page-item">
  64. <a class="page-link text-white page-bg-orange" href="{{ paginator.previous_page_url }}">
  65. <i class="fas fa-chevron-left me-2"></i>
  66. </a>
  67. </li>
  68. {% else %}
  69. <li class="page-item disabled">
  70. <a class="page-link text-white" href="#">
  71. <i class="fas fa-chevron-left me-2"></i>
  72. </a>
  73. </li>
  74. {% endif %}
  75. {% if paginator.next_page %}
  76. <li class="page-item">
  77. <a class="page-link text-white page-bg-orange" href="{{ paginator.next_page_url }}">
  78. <i class="fas fa-chevron-right ms-2"></i>
  79. </a>
  80. </li>
  81. {% else %}
  82. <li class="page-item disabled">
  83. <a class="page-link text-white" href="#">
  84. <i class="fas fa-chevron-right ms-2"></i>
  85. </a>
  86. </li>
  87. {% endif %}
  88. </ul>
  89. </nav>
  90. </div>
  91. </article>
  92. </div>
  93. <!-- 右侧边栏 -->
  94. </div>
  95. </div>
  96. {% include '_footer.liquid' %}
  97. </body>
  98. </html>