<!DOCTYPE html>
<html lang="{{site.dist.country_lang }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta property="og:locale" content="{{site.dist.country_lang | replace: '-', '_' }}" />
<meta name="author" content="Mietubl">
<meta name="description" content="{{ tag.seo_description  | strip_html| strip_newlines  }}">
<meta name="keywords" content="{{tag.seo_keywords}}">
<title>{{tag.seo_title}}</title>
{% include '_header_css.liquid' %}
</head>
<body>

<!-- MAIN WRAPPER -->
<div class="body-wrap shop-default shop-cards shop-tech">
    <div id="st-container" class="st-container">

        <div class="st-pusher">
            <div class="st-content">
                <div class="st-content-inner">
                    <!-- HEADER -->
                    {% include '_header.liquid' %}
                    <!-- END: HEADER -->
                    <!-- BREADCRUMB -->
                    <section class="slice sct-color-1">
                        <div class="container">
                            <div class="page-title">
                                <div class="row align-items-center">
                                    <div class="d-flex justify-content-end col-lg-12 col-12">
                                        {% for  breadcrumb in breadcrumbs %}
                                            <h2 class="heading heading-6 text-capitalize strong-500 mb-0">
                                                <a href="{{ breadcrumb.url }}" class="link text-underline--none">
                                                    &nbsp;
                                                    {% if forloop.index == 1 %}
                                                        <!-- 第一个 breadcrumb 使用 ion-ios-home 图标 -->
                                                        <i class="ion-ios-home"></i>
                                                    {% else %}
                                                        <!-- 其它 breadcrumb 使用 ion-ios-arrow-forward 图标 -->
                                                        <i class="ion-ios-arrow-forward"></i>
                                                    {% endif %}
                                                    {{ breadcrumb.name }}
                                                </a>
                                            </h2>
                                        {% endfor %}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                    <!-- END: BREADCRUMB -->
                    <section class="slice sct-color-1">
                        <div class="container">
                            <div class="row align-items-center">
                                <div class="col-12" >
                                    <h3 class="heading heading-3 strong-600 text-uppercase mb-0 text-center">{{ tag.name }}</h3>
                                </div>

                            </div>

                            <div class="row cols-md-space cols-sm-space cols-xs-space">

                                {% for item in pages %}
                                    <div class="col-lg-4 col-wrapper--spaced-y">
                                        <div class="card z-depth-2-top">
                                            <div class="card-image">
                                                <div class="view view-first">
                                                    <a href="/pages/{% if item.slug %}{{ item.slug }}{% else %}{{ item.id }}{% endif %}">

                                                        {% if item.cover_image %}
                                                            <img src="{% if item.cover_image contains 'http' %}{{ item.cover_image }}{% else %}{{ site.image_base_url }}{{ item.cover_image | append: '?x-oss-process=image/resize,m_pad,w_400,h_400' }}{% endif %}" alt="Cover Image">
                                                        {% else %}
                                                            <div class=" d-flex justify-content-center align-items-center"
                                                                 style="background-color: #FFF; width: 100%; height: 0; padding-top: 100%; position: relative; display: flex;">
                                                               <span style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 16px; color: #555;">No Image</span>
                                                            </div>
                                                        {% endif %}

                                                    </a>
                                                </div>
                                            </div>

                                            <div class="card-body">
                                                <h3 class="heading heading-5 strong-500 mb-0 title-over-flow" >
                                                    <a href="/pages/{% if item.slug %}{{ item.slug }}{% else %}{{ item.id }}{% endif %}" title="{{ item.title | strip_html }}">{{ item.title | strip_html }}</a>
                                                </h3>
                                            </div>

                                            <div class="card-footer">
                                                <div class="row">

                                                    <div class="col text-right">
                                                        <ul class="inline-links inline-links--style-2">
                                                            <li>
                                                                {{item.post_date }}
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                {% endfor %}





                            </div>
                        </div>
                        <div class="pt-5">
                            <nav aria-label="Product pagination">
                                <ul class="pagination pagination--style-2 justify-content-center">
                                    <!-- Previous Page Link -->
                                    {% if paginator.previous_page %}
                                        <li class="page-item">
                                            <a class="page-link" href="{{ paginator.previous_page_url }}" tabindex="-1">Previous</a>
                                        </li>
                                    {% else %}
                                        <li class="page-item disabled">
                                            <a class="page-link" href="#" tabindex="-1">Previous</a>
                                        </li>
                                    {% endif %}

                                    <!-- Pagination Links -->
                                    {% for page in paginator.pages %}
                                        {% if page == paginator.current_page %}
                                            <li class="page-item active">
                                                <span class="page-link">{{ page }}</span>
                                            </li>
                                        {% else %}
                                            <li class="page-item">
                                                <a class="page-link" href="{{ paginator.page_url[page] }}">{{ page }}</a>
                                            </li>
                                        {% endif %}
                                    {% endfor %}

                                    <!-- Next Page Link -->
                                    {% if paginator.next_page %}
                                        <li class="page-item">
                                            <a class="page-link" href="{{ paginator.next_page_url }}">Next</a>
                                        </li>
                                    {% else %}
                                        <li class="page-item disabled">
                                            <a class="page-link" href="#">Next</a>
                                        </li>
                                    {% endif %}
                                </ul>
                            </nav>
                        </div>
                    </section>    <!-- FOOTER -->
                    {% include '_footer.liquid' %}
                </div>
            </div>
        </div><!-- END: st-pusher -->
    </div><!-- END: st-container -->
</div><!-- END: body-wrap -->
<a href="#" class="back-to-top btn-back-to-top"></a>
{% include '_footer_js.liquid' %}
</body>
</html>
