Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 38fda88

Browse filesBrowse files
committed
fix build
1 parent e12e776 commit 38fda88
Copy full SHA for 38fda88

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎weblink.rst

Copy file name to clipboardExpand all lines: weblink.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ and to enable Symfony features requiring the library.
6262
It also generates a base HTML5 layout in the ``templates/`` directory.
6363

6464
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
6666
project.
6767

6868
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:
123123
composer req weblink
124124
125125
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
127127
leverages the WebLink component:
128128

129129
.. code:: html+twig
@@ -151,7 +151,7 @@ How does it works?
151151
The WebLink component tracks Link HTTP headers to add to the response.
152152
When using the ``preload()`` helper, a ``Link`` header
153153
with a `preload`_
154-
``rel`` attribute is added to the response:
154+
``rel`` attribute is added to the response:
155155

156156
.. image:: /_images/components/weblink/response-headers.png
157157

@@ -263,7 +263,7 @@ While we're speaking about interoperability, WebLink can deal with any link impl
263263

264264
Thanks to Symfony WebLink, there is no excuses to not to switch to HTTP/2!
265265

266-
.. _`Web Linking`_: https://tools.ietf.org/html/rfc5988
266+
.. _`Web Linking`: https://tools.ietf.org/html/rfc5988
267267
.. _`HTTP/2 Server Push`: https://tools.ietf.org/html/rfc7540#section-8.2
268268
.. _`Resource Hints`: https://www.w3.org/TR/resource-hints/
269269
.. _`Twig`: https://twig.symfony.com/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.