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

                <!-- Breadcrumb -->
                <section class="breadcrumb">
                    <div class="container">
                        <a href="{{ site.url }}">{{ function('pll_e', 'Главная') }}</a> /
                        <a href="{{ site.url }}">{{ function('pll_e', 'Блог') }}</a> /
                        <a href="{{ post.link }}">{{ post.name }}</a>
                    </div>
                </section>
                <!-- Breadcrumb end -->

                <!-- Article home -->
                <section class="article-home">
                    <div class="container">
                        <h1>{{post.name}}</h1>
                        <div class="article-home__data">
                            <ul class="article-home__data-alerts">
                                {% for category in post.categories %}
                                <li>
                                    <a href="{{ category.link }}">{{ category.name }}</a>
                                </li>
                                {% endfor %}
                            </ul>
                            <p>{{post.date}}</p>
                            <p>{{ function('pll_e', 'время чтения') }}: {{post.reading_time}}</p>
                            
                        </div>
                        <div class="article-home__card">
                            <img src="{{post.thumbnail.src}}" alt="{{post.thumbnail.alt}}">
                        </div>
                    </div>
                </section>

                <!-- Article home end -->

                <!-- Article content -->
                <div class="article-content">
                    <div class="article-container">
                        {{post.content}}
                    </div>
                </div>
                <!-- Article content end -->
<section class="home other-home">
                    <div class="container">
          {% include '/blog/featured-slider.twig' %}
                    </div>
                </section>
                
     

{% endblock %}