Move legacy script to assets folder
JavaScript should be in "assets/js"; move the miscellaneous legacy script code there.pull/51835/head
parent
913cad9905
commit
0ede719918
|
@ -112,3 +112,6 @@
|
|||
<!--for the splitter-->
|
||||
<!--script src="https://unpkg.com/split.js/dist/split.min.js"></script-->
|
||||
<script src="/js/split-1.6.0.js" integrity="sha384-0blL3GqHy6+9fw0cyY2Aoiwg4onHAtslAs4OkqZY7UQBrR65/K4gI+hxLdWDrjpz"></script>
|
||||
|
||||
{{- $legacyScriptJs := resources.Get "js/legacy-script.js" -}}
|
||||
<script src="{{ $legacyScriptJs.RelPermalink }}"></script>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<script src="{{ "js/script.js" | relURL }}"></script>
|
||||
|
||||
{{/* Handle legacy Kubernetes shortcode for Mermaid diagrams */}}
|
||||
{{- if (.HasShortcode "mermaid") -}}
|
||||
{{ .Page.Store.Set "hasmermaid" true -}}
|
||||
|
|
Loading…
Reference in New Issue