Remove undeferred p5 related scripts from baseof.html
This commit is contained in:
parent
b495d84c64
commit
45dc56631c
1 changed files with 0 additions and 8 deletions
|
@ -10,14 +10,6 @@
|
|||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
|
||||
{{ if and .IsPage .Params.is_p5js_sketch }}
|
||||
<script src="{{ `scripts/p5-1.4.1.min.js` | absURL }}"></script>
|
||||
<script src="{{ `scripts/sketch-utils.js` | absURL }}"></script>
|
||||
{{ with .Resources.GetMatch "sketch.js" }}
|
||||
<script src="{{ .RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<script>
|
||||
const bodyClasses = document.body.classList;
|
||||
const systemDarkModeMatch = window.matchMedia('(prefers-color-scheme: dark)');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue