File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- import { getImage } from ' astro:assets' ;
2
+ import { getImage , Font } from ' astro:assets' ;
3
3
import type { Seo } from ' @/lib/constants'
4
4
import { DEFAULT_CONFIGURATION } from ' @/lib/constants' ;
5
5
import { generateAbsoluteUrl } from ' @/lib/utils' ;
@@ -18,6 +18,8 @@ const seoImage = generateAbsoluteUrl(image.src);
18
18
<meta charset =" utf-8" />
19
19
<link rel =" sitemap" href =" /sitemap-index.xml" />
20
20
<link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
21
+ <Font cssVariable =" --font-inter" preload />
22
+ <Font cssVariable =" --font-inter-variable" preload />
21
23
{ seo ?.canonicalUrl && <link rel = " canonical" href = { seo ?.canonicalUrl } />}
22
24
<title >{ seo ?.title || defaultSeo .title } </title >
23
25
<meta name =" viewport" content =" width=device-width, initial-scale=1" />
You can’t perform that action at this time.
0 commit comments