1 changed files with 21 additions and 16 deletions
@ -1,20 +1,25 @@ |
|||||||
{# |
{# |
||||||
/** |
/** |
||||||
* @file |
* @file |
||||||
* Preload the non-bold & non-italic fonts for the headings and the body copy. |
* Preload the non-bold & non-italic fonts for the headings and the body copy. |
||||||
* |
* |
||||||
* Available variables: |
* Available variables: |
||||||
* - oliveskspaces_path: Returns the path to the Oliveskspaces theme. |
* - oliveskspaces_path: Returns the path to the Oliveskspaces theme. |
||||||
*/ |
*/ |
||||||
#} |
#} |
||||||
|
|
||||||
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/metropolis/Metropolis-Regular.woff2" as="font" type="font/woff2" crossorigin> |
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/alegreya-v41-latin-500.woff2" as="font" type="font/woff2" |
||||||
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/metropolis/Metropolis-SemiBold.woff2" as="font" type="font/woff2" crossorigin> |
crossorigin> |
||||||
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/metropolis/Metropolis-Bold.woff2" as="font" type="font/woff2" crossorigin> |
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/alegreya-v41-latin-600.woff2" as="font" type="font/woff2" |
||||||
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/lora/lora-v14-latin-regular.woff2" as="font" type="font/woff2" crossorigin> |
crossorigin> |
||||||
{#<link rel="preload" href="{{ oliveskspaces_path }}/fonts/LibreBodoni-Bold.woff2" as="font" type="font/woff2" crossorigin>#} |
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/alegreya-v41-latin-regular.woff2" as="font" type="font/woff2" |
||||||
{#<link rel="preload" href="{{ oliveskspaces_path }}/fonts/LibreBodoni-Italic.woff2" as="font" type="font/woff2" crossorigin>#} |
crossorigin> |
||||||
{#<link rel="preload" href="{{ oliveskspaces_path }}/fonts/LibreBodoni-Regular.woff2" as="font" type="font/woff2" crossorigin>#} |
|
||||||
{#<link rel="preload" href="{{ oliveskspaces_path }}/fonts/SourceSans3-Bold.woff2" as="font" type="font/woff2" crossorigin>#} |
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/barlow-v13-latin-500.woff2" as="font" type="font/woff2" |
||||||
{#<link rel="preload" href="{{ oliveskspaces_path }}/fonts/SourceSans3-Regular.woff2" as="font" type="font/woff2" crossorigin>#} |
crossorigin> |
||||||
{#<link rel="preload" href="{{ oliveskspaces_path }}/fonts/SourceSans3-Italic.woff2" as="font" type="font/woff2" crossorigin>#} |
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/barlow-v13-latin-600.woff2" as="font" type="font/woff2" |
||||||
|
crossorigin> |
||||||
|
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/barlow-v13-latin-italic.woff2" as="font" type="font/woff2" |
||||||
|
crossorigin> |
||||||
|
<link rel="preload" href="{{ oliveskspaces_path }}/fonts/barlow-v13-latin-regular.woff2" as="font" type="font/woff2" |
||||||
|
crossorigin> |
||||||
|
|||||||
Loading…
Reference in new issue