fix
This commit is contained in:
parent
3be0e8474d
commit
abe9d549ad
@ -170,8 +170,9 @@ function cssLink(string $name, string $theme, &$bname = null): string {
|
||||
|
||||
function cssPrefetchLink(string $name): string {
|
||||
$url = '/dist-css/'.$name.'.css?'.getStaticVersion('css/'.$name.'.css');
|
||||
$integrity = getStaticIntegrityAttribute($name);
|
||||
return <<<HTML
|
||||
<link rel="prefetch" href="{$url}" />
|
||||
<link rel="prefetch" href="{$url}"{$integrity} />
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user