preload.twig 712 B

1234567891011121314
  1. {#
  2. /**
  3. * @file
  4. * Preload the non-bold & non-italic fonts for the headings and the body copy.
  5. *
  6. * Available variables:
  7. * - rorschach_path: Returns the path to the Rorschach theme.
  8. */
  9. #}
  10. <link rel="preload" href="{{ rorschach_path }}/fonts/metropolis/Metropolis-Regular.woff2" as="font" type="font/woff2" crossorigin>
  11. <link rel="preload" href="{{ rorschach_path }}/fonts/metropolis/Metropolis-SemiBold.woff2" as="font" type="font/woff2" crossorigin>
  12. <link rel="preload" href="{{ rorschach_path }}/fonts/metropolis/Metropolis-Bold.woff2" as="font" type="font/woff2" crossorigin>
  13. <link rel="preload" href="{{ rorschach_path }}/fonts/lora/lora-v14-latin-regular.woff2" as="font" type="font/woff2" crossorigin>