Skip to content

Commit 440060c

Browse files
authored
Update index.rst
1 parent 9ebd54f commit 440060c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Turbo/doc/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,7 @@ Minimal layout for Turbo Frames
295295

296296
The minimal layout for Turbo Frames was added in Turbo 2.22.
297297

298-
Since Turbo does not need the content outside of the frame, reducing the amount that is rendered can be a useful optimisation. However, this optimisation prevents responses from specifying ``head`` content as well. There are cases where it would be useful for Turbo to have access to items specified in ``head``. To specify the heads, you must then use a minimal layout for frame, rather than no layout. With this, applications can render content into the ``head`` if they want.
299-
298+
Since Turbo does not need the content outside of the frame, reducing the amount that is rendered can be a useful optimisation. There are cases where it would be useful for Turbo to have access to items specified in ``head``. To specify the heads, you must then use a minimal layout for frame, rather than no layout. it allows you to set ``meta`` tags while still having a minimal layout.
300299
.. code-block:: html+twig
301300

302301
{% extends '@Turbo/frame.html.twig' %}

0 commit comments

Comments
 (0)