Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-19 16:33:29 +0300
committerHanzei <hanzei@mailbox.org>2018-07-19 16:33:29 +0300
commit9125225a21e426ccf7392ff0d86b2b37c6b005ee (patch)
tree69de981122bede1c0c1caf5c49eb407bf8ab9a1a /layouts/partials/footer/scripts.html
parent2246ec73706055d8c3db149bda0f1dd387ba9e7e (diff)
Add owlCarousel to homepage modal
Diffstat (limited to 'layouts/partials/footer/scripts.html')
-rw-r--r--layouts/partials/footer/scripts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html
index 2954f7e..4f517e7 100644
--- a/layouts/partials/footer/scripts.html
+++ b/layouts/partials/footer/scripts.html
@@ -8,8 +8,8 @@
{{ $momentTimezone := resources.Get "vendor/momentjs/moment-timezone.min.js" }}
{{ $momentTimezoneWithData := resources.Get "vendor/momentjs/moment-timezone-with-data-2012-2022.min.js" }}
{{ $initMomentjs := resources.Get "js/initMoment.js" | resources.ExecuteAsTemplate "js/initMoment.tmp.js" . }}
-{{ $scripts := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "/js/bundleMoment.js" | fingerprint }}
-<script src="{{ $scripts.Permalink }}" integrity="{{ $scripts.Data.Integrity }}"></script>
+{{ $bundleMoment := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "/js/bundleMoment.js" | fingerprint }}
+<script src="{{ $bundleMoment.Permalink }}" integrity="{{ $bundleMoment.Data.Integrity }}"></script>
{{ end }}
{{ template "_internal/google_analytics_async.html" . }}