Added font-display: swap to fonts

This commit is contained in:
2020-08-13 00:03:01 +02:00
committed by Dennis Potter
parent be90672cda
commit 325c23eaca
5 changed files with 27 additions and 9 deletions

View File

@@ -16,6 +16,10 @@
<meta property="og:image" content="https://dennispotter.eu/images/avatar.jpg" />
<meta property="og:description" content="I get excited by the endless capabilities of modern computers, enjoy solving (everyday) problems by writing programs, and love a good read!" />
<!-- Preloads
================================================== -->
<link rel="preload" href="fonts/opensans/OpenSans-Regular-webfont.woff" as="font">
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
@@ -24,8 +28,6 @@
================================================== -->
<link rel="stylesheet" href="css/default.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/media-queries.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- Script
================================================== -->
@@ -35,10 +37,6 @@
================================================== -->
<link rel="shortcut icon" href="favicon.gif" >
<!-- Preloads
================================================== -->
<link rel="preload" href="fonts/opensans/OpenSans-Regular-webfont.woff" as="font">
</head>
<body>
@@ -551,5 +549,10 @@
<script src="js/init.js"></script>
<script src="js/typed.js"></script>
<!-- CSS
================================================== -->
<link rel="stylesheet" href="css/media-queries.css">
<link rel="stylesheet" href="css/magnific-popup.css">
</body>
</html>