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

master
Lorenzo Cogotti 3 years ago
parent 9aeed7bca1
commit 2e8bdaabdc

@ -13,7 +13,7 @@
{{ $notfoundCss := resources.Get "sass/notfound.sass" | toCSS $sassOptions | fingerprint }}
<link type="text/css" rel="stylesheet" href="{{ $notfoundCss.Permalink }}">
{{ $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 }}
{{ define "main" }}

@ -9,7 +9,7 @@
{{ $home := resources.Get "sass/home.sass" | toCSS $sassOptions | fingerprint }}
<link type="text/css" rel="stylesheet" href="{{ $home.Permalink }}">
{{ $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 }}
{{ define "main" }}

Loading…
Cancel
Save