mirror of
https://github.com/rsms/inter.git
synced 2024-09-19 06:40:16 +03:00
website: fix paths for font preload directives
This commit is contained in:
parent
c6e265a28d
commit
bd20ad5232
@ -1,2 +1,9 @@
|
||||
<link rel="preload" href="/font-files/Inter-upright.var.woff2?v=3.3" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/font-files/Inter-italic.var.woff2?v=3.3" as="font" type="font/woff2" crossorigin>
|
||||
{%
|
||||
|
||||
capture url_root
|
||||
%}{% if site.safe == false %}/{% else %}/inter/{% endif
|
||||
%}{%
|
||||
endcapture
|
||||
|
||||
%}<link rel="preload" href="{{url_root}}font-files/Inter-upright.var.woff2?v=3.3" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{url_root}}font-files/Inter-italic.var.woff2?v=3.3" as="font" type="font/woff2" crossorigin>
|
Loading…
Reference in New Issue
Block a user