[404,index] Remove type= attributes, superflous for javascript
This commit is contained in:
parent
9aeed7bca1
commit
2e8bdaabdc
|
@ -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" }}
|
||||||
|
|
|
@ -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" }}
|
||||||
|
|
Loading…
Reference in New Issue