7 lines
353 B
HTML
7 lines
353 B
HTML
{{ $href := .href }}
|
|
{{ $integrity := .integrity }}
|
|
{{ $onload := .onload | safeJS }}
|
|
{{ $src := .src }}
|
|
|
|
<script{{ if ne $href (urls.Parse $href).Path }} crossorigin="anonymous"{{ end }} defer integrity="{{ $integrity }}"{{ with $onload }} onload="{{ . }}"{{ end }} referrerpolicy="no-referrer" src="{{ partial `paige/func-url.html` $src }}"></script>
|