Don’t preload font file
CSS is inlined anyway, also the preloaded URL didn’t include the cachebusting timestamp, so preloading was useless…
This commit is contained in:
@@ -16,8 +16,6 @@
|
|||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<link rel="pgpkey" type="application/pgp-keys" href="<?= url('pgp.asc') ?>">
|
<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')): ?>
|
<?php if($suffix = c::get('assets.suffix')): ?>
|
||||||
<style><?= f::read('assets/css/index' . $suffix . '.css') ?></style>
|
<style><?= f::read('assets/css/index' . $suffix . '.css') ?></style>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user