Skip to content

Commit

Permalink
Added font display swap
Browse files Browse the repository at this point in the history
  • Loading branch information
manforowicz committed Sep 3, 2024
1 parent 9ddc3dc commit acf2cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_includes/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<meta property="og:description" content="Marcin Anforowicz's website">
<meta property="og:type" content="article">
<meta property="og:image" content="/assets/window.jpg">
<link rel="icon" href="/assets/icon.ico">
<link rel="icon" href="/assets/icon.svg">
<link rel="stylesheet" href="/assets/style.css">
<link rel="stylesheet" href="/assets/prism.css">
<link rel="stylesheet" media="print" href="/assets/print.css">
<link rel="icon" href="/assets/icon.ico">
<link rel="icon" href="/assets/icon.svg">
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions src/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ then you're doing something wrong.

@font-face {
font-family: 'FiraSans';
font-display: swap;
src: url("/assets/FiraSans-Light.woff") format('woff');
}

Expand Down

0 comments on commit acf2cbd

Please sign in to comment.