fix
This commit is contained in:
parent
21a745dcc0
commit
290d62f849
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user