1
0
Fork 0

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 6 years ago
parent 95e0ff6178
commit 5e6244e90c

@ -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