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 ``
769769---------- ---------------------------------------- ------------------------------------------
770770``/foo `` It matches (``200 `` status response) It makes a ``301 `` redirect to ``/foo ``
771771``/foo/ `` It makes a ``301 `` redirect to ``/foo/ `` It matches (``200 `` status response)
772- ========== ======================================== ==========================================
772+ ---------- ---------------------------------------- ------------------------------------------
773773
774774.. note::
775775
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ To do that, first install the WebLink component:
5555 Now, update the template to use the ``preload() `` Twig function provided by
5656WebLink:
5757
58- .. code :: twig
58+ .. code-block :: twig
5959
6060 <head>
6161 {# ... #}
@@ -69,7 +69,7 @@ requested the HTML page.
6969Additionally, according to `the Priority Hints specification `_, you can signal
7070the priority of the resource to download using the ``importance `` attribute:
7171
72- .. code :: twig
72+ .. code-block :: twig
7373
7474 <head>
7575 {# ... #}
@@ -99,7 +99,7 @@ improve performance of your apps in production right now.
9999If you want to prevent the push but let the browser preload the resource by
100100issuing an early separate HTTP request, use the ``nopush `` option:
101101
102- .. code :: twig
102+ .. code-block :: twig
103103
104104 <head>
105105 {# ... #}
@@ -132,7 +132,7 @@ The component also supports sending HTTP links not related to performance and
132132any link implementing the `PSR-13 `_ standard. For instance, any
133133`link defined in the HTML specification `_:
134134
135- .. code :: twig
135+ .. code-block :: twig
136136
137137 <head>
138138 {# ... #}
You can’t perform that action at this time.
0 commit comments