{% extends 'layout.twig' %} {% block title %}Главная страница{% endblock %} {% block content %} тут текст главной страницы {% endblock %}