Fix the script import
This commit is contained in:
parent
cd156d2b6d
commit
b9aa2d4201
1 changed files with 1 additions and 4 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue