mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
faster theme loading
This commit is contained in:
parent
442622b66d
commit
ee8f7c8c4e
@ -18,6 +18,3 @@ import styles from './index.module.css'
|
|||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- ./theme.cjs is symlinked to public/theme.js before build -->
|
|
||||||
<script is:inline src="/theme.js" defer></script>
|
|
||||||
|
@ -119,6 +119,9 @@ const faviconSvg = await getImage({ src: faviconSvgSrc, format: 'svg' })
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<!-- ./theme.cjs is symlinked to public/theme.js before build -->
|
||||||
|
<script is:inline src="/theme.js"></script>
|
||||||
|
|
||||||
{style && <link rel="stylesheet" href={style} />}
|
{style && <link rel="stylesheet" href={style} />}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user