mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-22 10:52:19 +00:00
don't block on js resources
This commit is contained in:
parent
a2c7211b67
commit
d595e67de7
4 changed files with 5 additions and 5 deletions
|
@ -54,7 +54,7 @@
|
|||
{{ with .Site.Params.omgUser }}
|
||||
<hr>
|
||||
<h3>status.lol</h3>
|
||||
<script src="https://status.lol/{{ . }}.js?time&link&fluent&pretty"></script>
|
||||
<script src="https://status.lol/{{ . }}.js?time&link&fluent&pretty" defer></script>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.musicThreadId }}
|
||||
<hr>
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
<!-- Code Copy button via https://digitaldrummerj.me/hugo-add-copy-code-snippet-button/ -->
|
||||
{{ if (findRE "<pre" .Content 1) }}
|
||||
{{ $jsCopy := resources.Get "js/code-copy-button.js" | minify }}
|
||||
<script src="{{ $jsCopy.RelPermalink }}"></script>
|
||||
<script src="{{ $jsCopy.RelPermalink }}" async></script>
|
||||
{{ end }}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
{{ if eq .Site.Params.analytics true }}
|
||||
<!-- cabin analytics -->
|
||||
<script async defer src="https://cabin.runtimeterror.dev/hello.js"></script>
|
||||
<script async src="https://cabin.runtimeterror.dev/hello.js"></script>
|
||||
{{ end }}
|
||||
|
||||
<!-- syntax highlighting -->
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
}
|
||||
</script>
|
||||
{{ $jsLunr := resources.Get "js/lunr.js" | minify }}
|
||||
<script src="{{ $jsLunr.RelPermalink }}"></script>
|
||||
<script src="{{ $jsLunr.RelPermalink }}" async></script>
|
||||
{{ $jsSearch := resources.Get "js/search.js" | minify }}
|
||||
<script src="{{ $jsSearch.RelPermalink }}"></script>
|
||||
<script src="{{ $jsSearch.RelPermalink }}" async></script>
|
Loading…
Reference in a new issue