1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-30 11:26:32 +03:00
inter/docs/_includes/preload-font-files.html
Rasmus Andersson e9ff19a95a v3.12
2020-02-08 17:05:32 -08:00

9 lines
429 B
HTML

{%
if site.safe == false %}{%
assign url_root = "/" %}{% else %}{%
assign url_root = "/inter/" %}{% endif %}{%
assign font_v = site.data.fontinfo[0].version
%}<link rel="preload" href="{{url_root}}font-files/Inter-roman.var.woff2?v=3.12" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{url_root}}font-files/Inter-italic.var.woff2?v=3.12" as="font" type="font/woff2" crossorigin="anonymous">