File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,6 @@ legend.onAdd = function (map) {
125
125
} ) ;
126
126
127
127
return div ;
128
- } ;
129
-
130
- legend . addTo ( map ) ;
128
+ } ;
129
+
130
+ legend . addTo ( map ) ;
File renamed without changes.
Original file line number Diff line number Diff line change 71
71
{{ partial "footer.html" . }}
72
72
</ footer >
73
73
74
- < script src ="/js/zoom-vanilla.min.js "> </ script >
74
+ {{ with resources.Get "js/zoom-vanilla.min.js" }}
75
+ {{ with . | fingerprint "sha256" }}
76
+ < script src ="{{ .RelPermalink }} " integrity ="{{ .Data.Integrity }} " crossorigin ="anonymous "> </ script >
77
+ {{ end }}
78
+ {{ end }}
75
79
76
80
</ body >
77
81
Original file line number Diff line number Diff line change 42
42
< script src ="
https://unpkg.com/[email protected] /dist/leaflet.js "
43
43
integrity ="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo= " crossorigin =""> </ script >
44
44
<!-- project JS file -->
45
- < script src ='{{ "js/events_map.js" | relURL }} '> </ script >
45
+ {{ with resources.Get "js/events_map.js" }}
46
+ {{ with . | fingerprint "sha256" }}
47
+ < script src ="{{ .RelPermalink }} " integrity ="{{ .Data.Integrity }} " crossorigin ="anonymous "> </ script >
48
+ {{ end }}
49
+ {{ end }}
You can’t perform that action at this time.
0 commit comments