<a href="{% url 'articles:article-detail' article_id=article.id article_slug=article.slug %}">
    <div class="article-box">
        <div class="article-box__image"
        {% if article.image %}
            style="background: url('{{ article.image.url }}') no-repeat center;"
        {% endif %}
        >
        </div>
        <div class="article-box__info">
            <div class="article-box__info__category">{{ article.category.name }}</div>
            <div class="article-box__info__title">{{ article.title }}</div>
            <div class="article-box__info__description">{{ article.short_text|safe }}</div>
        </div>
    </div>
</a>
