hugo-theme-introduction/layouts/partials/js/owlCarousel.html
Hanzei 88aa5812f5
Serve hugo pipes assets with .RelPermalink (#107)
* Serve hugo pipes assets with .RelPermalink

* Rebuild docs
2018-11-28 16:46:21 +01:00

4 lines
390 B
HTML

{{ $owlCarousel := resources.Get "/vendor/owlCarousel/owl.carousel.min.js" }}
{{ $initOwlCarousel := resources.Get "/js/initOwlCarousel.js" | minify }}
{{ $bundleOwlCarousel := slice $owlCarousel $initOwlCarousel | resources.Concat "/js/bundleOwlCarousel.js" | fingerprint }}
<script src="{{ $bundleOwlCarousel.RelPermalink }}" integrity="{{ $bundleOwlCarousel.Data.Integrity }}"></script>