Fix the script import

This commit is contained in:
Eryn Wells 2024-10-07 20:55:09 -07:00
parent cd156d2b6d
commit b9aa2d4201

View file

@ -28,10 +28,7 @@ looked up and built.
{{ with $resource }}
{{ if eq hugo.Environment "development" }}
<script
{{- if $isModule }} type="module" {{ end -}}
src="{{ .RelPermalink }}">
</script>
<script {{ if $isModule }}type="module"{{ end }} src="{{ .RelPermalink }}"></script>
{{ else }}
<script
{{- if $isModule }} type="module" {{ end -}}