[404,index] Remove type= attributes, superflous for javascript

This commit is contained in:
Lorenzo Cogotti 2021-07-21 12:53:32 +02:00
parent 9aeed7bca1
commit 2e8bdaabdc
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
{{ $notfoundCss := resources.Get "sass/notfound.sass" | toCSS $sassOptions | fingerprint }} {{ $notfoundCss := resources.Get "sass/notfound.sass" | toCSS $sassOptions | fingerprint }}
<link type="text/css" rel="stylesheet" href="{{ $notfoundCss.Permalink }}"> <link type="text/css" rel="stylesheet" href="{{ $notfoundCss.Permalink }}">
{{ $particlesJs := resources.Get "js/lib/particles.js" | js.Build $jsOptions | fingerprint }} {{ $particlesJs := resources.Get "js/lib/particles.js" | js.Build $jsOptions | fingerprint }}
<script src="{{ $particlesJs.Permalink }}" type="text/javascript"></script> <script src="{{ $particlesJs.Permalink }}"></script>
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}

View File

@ -9,7 +9,7 @@
{{ $home := resources.Get "sass/home.sass" | toCSS $sassOptions | fingerprint }} {{ $home := resources.Get "sass/home.sass" | toCSS $sassOptions | fingerprint }}
<link type="text/css" rel="stylesheet" href="{{ $home.Permalink }}"> <link type="text/css" rel="stylesheet" href="{{ $home.Permalink }}">
{{ $transmissionJs := resources.Get "js/transmission.js" | js.Build $jsOptions | fingerprint }} {{ $transmissionJs := resources.Get "js/transmission.js" | js.Build $jsOptions | fingerprint }}
<script src="{{ $transmissionJs.Permalink }}" type="text/javascript" defer></script> <script src="{{ $transmissionJs.Permalink }}" defer></script>
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}