mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
7 lines
269 B
HTML
7 lines
269 B
HTML
{{- $res := .resource -}}
|
|
{{- with .fingerprint -}}
|
|
{{- $res = $res | resources.Fingerprint . -}}
|
|
<script src="{{ $res.RelPermalink }}" integrity="{{ $res.Data.Integrity }}"></script>
|
|
{{- else -}}
|
|
<script src="{{ $res.RelPermalink }}"></script>
|
|
{{- end -}}
|