{% extends 'layout.twig' %}
            
            
{% block content %}

            <!-- Home -->
                <section class="home">
                    <div class="container">
                        <h1 class="home-title">{{blog_title}}</h1>
                        <p class="home-description">{{blog_desc}}</p>
                        {% include '/blog/featured-slider.twig' %}
                    </div>
                </section>
            <!-- Home end -->

                <!-- Anons -->
                <section class="anons">
                    <div class="container">
                        {% include '/blog/themes.twig' %}
                        {% include '/blog/most-read.twig' %}

                        <div class="anons-article">
                            <h2 class="anons-article__title">{{ function('pll_e', 'ВСЕ СТАТЬИ') }}</h2>
                    
                            <ul class="anons-article__card-wrap">
                                {% include '/blog/news-list.twig' %}
                            </ul>
                        </div>
                        {% if total_pages > 1 %}
                        <form id="ajax-load-blog" data-total="{{ total_pages }}">
                            <input type="hidden" name="page_num" id="page_num" value="1">
                            <input type="hidden" name="action" value="load_blog_posts">
                            <button class="anons-article__more-link" >
                               {{ function('pll_e', 'ПОКАЗАТЬ ЕЩЁ') }} 
                            </button>
                        </form>
                       {% endif %}
                </section>
                <!-- Anons end -->

                <!-- Author -->
                    {% include '/blog/author-banner.twig' %}
                <!-- Author end -->

                <!-- Editorial -->
               {% include '/blog/editorial.twig' %}
                <!-- Editorial end -->

{% endblock %}