File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ Route path If the requested URL is ``/foo`` If the requested URL is ``
769
769
---------- ---------------------------------------- ------------------------------------------
770
770
``/foo `` It matches (``200 `` status response) It makes a ``301 `` redirect to ``/foo ``
771
771
``/foo/ `` It makes a ``301 `` redirect to ``/foo/ `` It matches (``200 `` status response)
772
- ========== ======================================== ==========================================
772
+ ---------- ---------------------------------------- ------------------------------------------
773
773
774
774
.. note::
775
775
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ To do that, first install the WebLink component:
55
55
Now, update the template to use the ``preload() `` Twig function provided by
56
56
WebLink:
57
57
58
- .. code :: twig
58
+ .. code-block :: twig
59
59
60
60
<head>
61
61
{# ... #}
@@ -69,7 +69,7 @@ requested the HTML page.
69
69
Additionally, according to `the Priority Hints specification `_, you can signal
70
70
the priority of the resource to download using the ``importance `` attribute:
71
71
72
- .. code :: twig
72
+ .. code-block :: twig
73
73
74
74
<head>
75
75
{# ... #}
@@ -99,7 +99,7 @@ improve performance of your apps in production right now.
99
99
If you want to prevent the push but let the browser preload the resource by
100
100
issuing an early separate HTTP request, use the ``nopush `` option:
101
101
102
- .. code :: twig
102
+ .. code-block :: twig
103
103
104
104
<head>
105
105
{# ... #}
@@ -132,7 +132,7 @@ The component also supports sending HTTP links not related to performance and
132
132
any link implementing the `PSR-13 `_ standard. For instance, any
133
133
`link defined in the HTML specification `_:
134
134
135
- .. code :: twig
135
+ .. code-block :: twig
136
136
137
137
<head>
138
138
{# ... #}
You can’t perform that action at this time.
0 commit comments