mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-23 15:12:53 +00:00
88aa5812f5
* Serve hugo pipes assets with .RelPermalink * Rebuild docs
4 lines
390 B
HTML
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>
|