Skip to content

Commit

Permalink
preload fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
mudkipdev committed Dec 3, 2024
1 parent 7220220 commit 14b4913
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/layouts/Page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,25 @@ const { title, path = "~/" + title.toLowerCase().replaceAll(" ", "-") } = Astro.
<title>{path}</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link
rel="alternate" type="application/rss+xml"
title="mudkip's blog" href="/rss.xml"
rel="alternate" type="application/rss+xml"
title="mudkip's blog" href="/rss.xml"
/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="preload"
href="/terminus.ttf"
as="font"
type="font/ttf"
crossorigin
/>
<link
rel="preload"
href="/terminus-bold.ttf"
as="font"
type="font/ttf"
crossorigin
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="theme-color" content="#C6A0F6" />
<meta property="og:title" content={title} />
Expand Down

0 comments on commit 14b4913

Please sign in to comment.