add fonts preload

This commit is contained in:
2024-06-30 22:17:49 +03:00
parent f2b69a1b4c
commit 08094143cb

View File

@@ -26,6 +26,8 @@
<meta name="theme-color" content="#ffffff">
<link type="image/x-icon" href="https://vetandlife.ru/favicon.ico" rel="shortcut icon">
<link type="Image/x-icon" href="https://vetandlife.ru/favicon.ico" rel="icon">
<link rel="preload" href="/wp-content/themes/vij/pub/fonts/GrtskPeta-Regular.woff2" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="/wp-content/themes/vij/pub/fonts/GrtskPeta-Bold.woff2" as="font" type="font/ttf" crossorigin>
<?if (isset($post->ID)):?>
<meta property="og:description" content="<?=strip_tags(get_the_excerpt( $post->ID ))?>" />
<?if( has_post_thumbnail()):