js.Build minify
This commit is contained in:
parent
92b5c9c0f9
commit
1034cc2556
@ -84,10 +84,10 @@
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts"}}
|
||||
{{ $picsCarousel := resources.Get "js/index-pics-carousel.js" | js.Build }}
|
||||
{{ $picsCarousel := resources.Get "js/index-pics-carousel.js" | js.Build dict "minify" true }}
|
||||
<script src="{{ $picsCarousel.RelPermalink }}"></script>
|
||||
|
||||
{{ $newsCarousel := resources.Get "js/index-news-carousel.js" | js.Build }}
|
||||
{{ $newsCarousel := resources.Get "js/index-news-carousel.js" | js.Build dict "minify" true }}
|
||||
<script src="{{ $newsCarousel.RelPermalink }}"></script>
|
||||
|
||||
<script type="application/ld+json">
|
||||
|
||||
@ -150,7 +150,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
{{ $carousel := resources.Get "js/single-spectacle-carousel.js" | js.Build }}
|
||||
{{ $carousel := resources.Get "js/single-spectacle-carousel.js" | js.Build dict "minify" true}}
|
||||
|
||||
<script src="{{ $carousel.RelPermalink}}"></script>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user