Browse Source

Don’t preload font file

CSS is inlined anyway, also the preloaded URL didn’t include the cachebusting timestamp, so preloading was useless…
master
Lukas Bestle 4 years ago
parent
commit
5e6244e90c
  1. 2
      site/snippets/header.php

2
site/snippets/header.php

@ -16,8 +16,6 @@
<?php endforeach ?>
<link rel="pgpkey" type="application/pgp-keys" href="<?= url('pgp.asc') ?>">
<link rel="preload" href="<?= url('assets/fonts/input-sans-narrow-regular.woff2') ?>" as="font" type="font/woff2" crossorigin>
<?php if($suffix = c::get('assets.suffix')): ?>
<style><?= f::read('assets/css/index' . $suffix . '.css') ?></style>
<?php else: ?>

Loading…
Cancel
Save