@@ -62,7 +62,7 @@ and to enable Symfony features requiring the library.
62
62
It also generates a base HTML5 layout in the ``templates/`` directory.
63
63
64
64
Now, download Bootstrap _, extract the archive and copy the file
65
- ``dist/css/bootstrap.min.css `` in the ``public/`` directory of our
65
+ ``dist/css/bootstrap.min.css `` in the ``public/ `` directory of our
66
66
project.
67
67
68
68
Symfony comes with a `nice integration with of the most popular CSS framework `_.
@@ -123,7 +123,7 @@ Let's do it! Install the WebLink component:
123
123
composer req weblink
124
124
125
125
As for Twig, Symfony will automatically download and register this component into our app.
126
- Now, update the template to use the ``preload`` Twig helper that
126
+ Now, update the template to use the ``preload `` Twig helper that
127
127
leverages the WebLink component:
128
128
129
129
.. code :: html+twig
@@ -151,7 +151,7 @@ How does it works?
151
151
The WebLink component tracks Link HTTP headers to add to the response.
152
152
When using the ``preload() `` helper, a ``Link `` header
153
153
with a `preload `_
154
- ``rel`` attribute is added to the response:
154
+ ``rel `` attribute is added to the response:
155
155
156
156
.. image :: /_images/components/weblink/response-headers.png
157
157
@@ -263,7 +263,7 @@ While we're speaking about interoperability, WebLink can deal with any link impl
263
263
264
264
Thanks to Symfony WebLink, there is no excuses to not to switch to HTTP/2!
265
265
266
- .. _`Web Linking`_ : https://tools.ietf.org/html/rfc5988
266
+ .. _`Web Linking` : https://tools.ietf.org/html/rfc5988
267
267
.. _`HTTP/2 Server Push` : https://tools.ietf.org/html/rfc7540#section-8.2
268
268
.. _`Resource Hints` : https://www.w3.org/TR/resource-hints/
269
269
.. _`Twig` : https://twig.symfony.com/
0 commit comments