As documented here, defining a block creates a macro with the name of the block in the special “self” object:
<title>{% block title %}{% endblock %} - example.com</title>
[...]
<h1>
{{ self.title() }} - example.com
</h1>
As documented here, defining a block creates a macro with the name of the block in the special “self” object:
<title>{% block title %}{% endblock %} - example.com</title>
[...]
<h1>
{{ self.title() }} - example.com
</h1>