django-components/tests/templates/slot_inside_block.html
2024-05-02 22:24:49 +02:00

17 lines
380 B
HTML

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