hugo-theme-introduction/layouts/partials/js/owlCarousel.html
Hanzei 3a6144e557
Fix assets for thems site (#111)
* Fix font path

* Fix favicon path

* Revert "Serve hugo pipes assets with .RelPermalink (#107)"

This reverts commit 88aa5812f5.

* Use relLangURL

* Rebuild docs
2018-11-28 20:50:50 +01:00

4 lines
387 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.Permalink }}" integrity="{{ $bundleOwlCarousel.Data.Integrity }}"></script>