Hi all!
admin/index.volt content:
{% extends 'layouts/admin.volt' %}
{% block content %}
index admin text
{% endblock %}
layouts/admin.volt content:
<!doctype html> <html lang="ru"> <head> <meta charset="UTF-8"> <title>Admin dashboard</title> </head> <body> <h1>AdminDashboard</h1>
{% block content %}{% endblock %}
</body> </html>
tell me why not displayed the text "index admin text"?
site.com/admin/index compiled at:
<!doctype html> <html lang="ru"> <head> <meta charset="UTF-8"> <title>Admin dashboard</title> </head> <body> <h1>AdminDashboard</h1> </body> </html>
(without children block content)
Thanks, and sorry for my english dialect, i'm from other country.