Skip to content

Commit

Permalink
Preload font and background image resources
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Sep 15, 2018
1 parent 37e0361 commit 649a1af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@
<meta name="msapplication-TileColor" content="#30ff8a">
<meta name="msapplication-TileImage" content="<?php _e (get_stylesheet_directory_uri() . '/img/favicon-144.png'); ?>">

<link href="<?php _e (get_stylesheet_directory_uri() . '/font/DalaFloda-Bold-Web.woff2'); ?>" rel="preload" as="font" type="font/woff2">
<link href="<?php _e (get_stylesheet_directory_uri() . '/font/hgnm.woff2'); ?>" rel="preload" as="font" type="font/woff2">
<link href="<?php _e (get_stylesheet_directory_uri() . '/font/DalaFloda-Bold-Web.woff2'); ?>" rel="preload" as="font" type="font/woff2" crossorigin>
<link href="<?php _e (get_stylesheet_directory_uri() . '/font/hgnm.woff2'); ?>" rel="preload" as="font" type="font/woff2" crossorigin>
<link href="<?php _e (get_stylesheet_directory_uri() . '/img/halftone.png'); ?>" rel="preload" as="image" type="image/png" crossorigin>

<script async src="<?php _e (get_stylesheet_directory_uri() . '/js/vendor/modernizr-3.6.0.min.js'); ?>"></script>

Expand Down

0 comments on commit 649a1af

Please sign in to comment.