Add missing syntax

This commit is contained in:
Jake Duth 2023-08-13 22:07:16 -04:00 committed by Emil Stenström
parent dd14f508d1
commit 480bb45d35

View file

@ -350,7 +350,7 @@ By contrast, it is permitted to use `fill` tags in nested components, e.g.:
{% component_block "calendar" date="2020-06-06" %} {% component_block "calendar" date="2020-06-06" %}
{% component_block "beautiful-box" %} {% component_block "beautiful-box" %}
{% fill "content" %} Can you believe it's already <span>{{ date }}</span>?? {% endfill %} {% fill "content" %} Can you believe it's already <span>{{ date }}</span>?? {% endfill %}
{% endcomponent_block {% endcomponent_block %}
{% endcomponent_block %} {% endcomponent_block %}
``` ```
@ -361,7 +361,7 @@ This is fine too:
{% fill "header" %} {% fill "header" %}
{% component_block "calendar-header" %} {% component_block "calendar-header" %}
Super Special Calendar Header Super Special Calendar Header
{% endcomponent_block {% endcomponent_block %}
{% endfill %} {% endfill %}
{% endcomponent_block %} {% endcomponent_block %}
``` ```