This commit is contained in:
E. S. 2024-03-13 01:29:56 +00:00
parent 21a745dcc0
commit 290d62f849

View File

@ -170,7 +170,7 @@ function cssLink(string $name, string $theme, &$bname = null): string {
function cssPrefetchLink(string $name): string { function cssPrefetchLink(string $name): string {
$url = '/dist-css/'.$name.'.css?'.getStaticVersion('css/'.$name.'.css'); $url = '/dist-css/'.$name.'.css?'.getStaticVersion('css/'.$name.'.css');
$integrity = getStaticIntegrityAttribute($name.'.css'); $integrity = getStaticIntegrityAttribute('css/'.$name.'.css');
return <<<HTML return <<<HTML
<link rel="prefetch" href="{$url}"{$integrity} /> <link rel="prefetch" href="{$url}"{$integrity} />
HTML; HTML;