{% extends 'layout/module.template.twig' %}
            
            
{% block content %}

                <!-- Breadcrumb -->
                <section class="breadcrumb">
                    <div class="container">
                        <a href="{{ site.url }}">Главная</a> /
                        <a href="{{ site.url }}">Блог</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>время чтения: {{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>
                <!-- Article content end -->

     

{% endblock %}