hugo-story/layouts/partials/scripts.html

16 lines
605 B
HTML
Raw Permalink Normal View History

2020-07-02 07:05:45 +02:00
{{ $jQuery := resources.Get "js/jquery.min.js" }}
{{ $scrollex := resources.Get "js/jquery.scrollex.min.js" }}
{{ $scrolly := resources.Get "js/jquery.scrolly.min.js" }}
{{ $browser := resources.Get "js/browser.min.js" }}
{{ $breakpoints := resources.Get "js/breakpoints.min.js" }}
{{ $util := resources.Get "js/util.js" }}
{{ $main := resources.Get "js/main.js" }}
{{ $demo := resources.Get "js/demo.js" }}
2023-01-19 00:59:02 +01:00
{{ $js := slice $jQuery $scrollex $scrolly $browser $breakpoints $util $main $demo | resources.Concat "js/bundle.js" | minify }}
2020-07-02 07:05:45 +02:00
<!-- Scripts -->
<script src='{{ $js.RelPermalink }}'></script>
2023-01-19 00:59:02 +01:00