git
git copied to clipboard
Работа
<main>
{% block content %}
<!-- Блок с контентом, который будет заполняться в дочерних шаблонах -->
{% endblock %}
</main>
<footer>
<!-- Футер сайта -->
</footer>
```
<!-- Файл top-sellers.html -->
{% extends 'base.html' %}
{% block content %}
<h1>Топ-продажи</h1>
<!-- Контент шаблона top-sellers.html -->
{% endblock %}