fix: Safari issues reported by Wojciech Nawrocki
parent
5a65c64d4c
commit
19ee7dfd97
|
@ -224,7 +224,7 @@ def baseHtmlHeadDeclarations : BaseHtmlM (Array Html) := do
|
|||
<link rel="stylesheet" href={s!"{←getRoot}style.css"}/>,
|
||||
<link rel="stylesheet" href={s!"{←getRoot}src/pygments.css"}/>,
|
||||
<link rel="shortcut icon" href={s!"{←getRoot}favicon.ico"}/>,
|
||||
<link rel="prefetch" href={s!"{←getRoot}/declarations/declaration-data.bmp"}/>
|
||||
<link rel="prefetch" href={s!"{←getRoot}/declarations/declaration-data.bmp"} as="image"/>
|
||||
]
|
||||
|
||||
end DocGen4.Output
|
||||
|
|
|
@ -10,7 +10,7 @@ def find : BaseHtmlM Html := do
|
|||
pure
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="preload" href={s!"{←getRoot}/declarations/declaration-data.bmp"}/>
|
||||
<link rel="preload" href={s!"{←getRoot}/declarations/declaration-data.bmp"} as="image"/>
|
||||
<script>{s!"const SITE_ROOT={String.quote (←getRoot)};"}</script>
|
||||
<script type="module" async="true" src="./find.js"></script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue