django-components/tests/templates/block_in_component.html

13 lines
284 B
HTML

{% load component_tags %}
<!DOCTYPE html>
<html lang="en">
<body>
{% component "slotted_component" %}
{% fill "header" %}{% endfill %}
{% fill "main" %}
{% block body %}
{% endblock %}
{% endfill %}
{% endcomponent %}
</body>
</html>