-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get parent block content? #4
Comments
Hi, |
Yes, this is really needed feature. Twig example: base.html {% block main %}
world!
{% endblock %} page.html {% extends "base.html" %}
{% block main %}
Hello {{ block.super }}
{% endblock %} Result: Thanks for puja! P.S. - Sorry, my english so bad |
Got it. Thanks for your respond and idea. I'll implement it and inform you asap! |
@jinnguyen thanks! |
hi max107, During I implement the parent block, you can use {% include %} to include the the content into your template. |
How to get parent block content? like this {{ block.super }}?
p.s. - Sorry, my english so bad.
The text was updated successfully, but these errors were encountered: