Commit eb437ab
committed
minor #15375 [WebLink] Fixed the preload links (javiereguiluz)
This PR was merged into the 4.4 branch.
Discussion
----------
[WebLink] Fixed the preload links
As you can see at https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload, the `<link>` elements that use preload follow this syntax:
```html
<link rel="preload" href="..." as="...">
```
That's why I think we need to change all our `rel="stylesheet"` by `rel="preload"` ... unless the `preload()` Twig function replaces the entire `<link>`, which I don't think it's the case
Commits
-------
43a2d46 [WebLink] Fixed the preload links1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments