Skip to content

Commit 2a7f080

Browse files
committed
Mainframe: Remove old js
1 parent 1a4e351 commit 2a7f080

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

layouts/partials/scripts.html

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
{{ $jquery := resources.Get "/js/jquery-3-6-4.min.js" }}
2-
<script src="{{ $jquery.RelPermalink }}" type="text/javascript" integrity="{{ $jquery.Data.Integrity }}"></script>
3-
4-
{{ $kubejs := resources.Get "/js/kube.js" | minify | fingerprint "sha512" }}
5-
<script src="{{ $kubejs.RelPermalink }}" type="text/javascript" integrity="{{ $kubejs.Data.Integrity }}"></script>
6-
7-
<!-- load Bootstrap from local assets -->
8-
{{ $jsBootstrap := resources.Get "js/bootstrap.bundle.min.js" | fingerprint "sha512" }}
9-
<script src="{{ $jsBootstrap.RelPermalink }}" type="text/javascript"
10-
integrity="{{ $jsBootstrap.Data.Integrity }}"></script>
11-
12-
<!-- load code copy js -->
13-
{{ $codecopy := resources.Get "/js/code-copy.js" | fingerprint "sha512" }}
14-
<script src="{{ $codecopy.RelPermalink }}" type="text/javascript"></script>
15-
161
<!-- load code copy v2 js -->
172
{{ $codecopyv2 := resources.Get "/js/code-copy-v2.js" | fingerprint "sha512" }}
183
<script src="{{ $codecopyv2.RelPermalink }}" type="text/javascript"></script>
@@ -64,20 +49,10 @@
6449

6550
{{ end }}
6651

67-
68-
69-
<!-- Load Sidebar javascript -->
70-
{{ $jsSidebar := resources.Get "js/sidebar.js" | minify | fingerprint "sha512" }}
71-
<script src="{{ $jsSidebar.RelPermalink }}" type="text/javascript" integrity="{{ $jsSidebar.Data.Integrity }}"></script>
72-
73-
<!-- Load Site Dropdown javascript -->
74-
{{ $jsSiteDropdown := resources.Get "js/site-dropdown.js" | minify | fingerprint "sha512" }}
75-
<script src="{{ $jsSiteDropdown.RelPermalink }}" type="text/javascript" integrity="{{ $jsSiteDropdown.Data.Integrity }}"></script>
76-
7752
<!-- Load Product Selector javascript -->
7853
{{ $jsProductSelector := resources.Get "js/product-selector.js" | minify | fingerprint "sha512" }}
7954
<script src="{{ $jsProductSelector.RelPermalink }}" type="text/javascript" integrity="{{ $jsProductSelector.Data.Integrity }}"></script>
8055

8156
<!-- Load Sidebar v2 javascript -->
8257
{{ $jsSidebarV2 := resources.Get "js/sidebar-v2.js" | minify | fingerprint "sha512" }}
83-
<script src="{{ $jsSidebarV2.RelPermalink }}" type="text/javascript" integrity="{{ $jsSidebarV2.Data.Integrity }}"></script>
58+
<script src="{{ $jsSidebarV2.RelPermalink }}" type="text/javascript" integrity="{{ $jsSidebarV2.Data.Integrity }}"></script>

0 commit comments

Comments
 (0)