Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-jean authored Nov 7, 2024
1 parent 440060c commit 8e8da16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Turbo/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ Minimal layout for Turbo Frames
The minimal layout for Turbo Frames was added in Turbo 2.22.

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.

.. code-block:: html+twig

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

0 comments on commit 8e8da16

Please sign in to comment.