mirror of https://github.com/kremalicious/blog.git
faster theme loading
This commit is contained in:
parent
442622b66d
commit
ee8f7c8c4e
|
@ -18,6 +18,3 @@ import styles from './index.module.css'
|
|||
</div>
|
||||
</label>
|
||||
</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} />}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue