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:
authorVincent Tam <sere@live.hk>2019-07-25 17:15:03 +0300
committerVincent Tam <sere@live.hk>2019-07-25 17:15:03 +0300
commit4f59157d5b4da425040df4f771ed8282fa4955e9 (patch)
treef9dcbb1cf90cdb71a53fa1a48c8fe7d0da00cc5a /layouts/index.html
parente18c5c54295eaafdd8483e8ede487538866166d9 (diff)
Replace leading slash in some relURL
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 4a2dfca..f38c33a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -132,11 +132,11 @@
{{ partial "js/owlCarousel.html" . }}
{{ if .Site.Params.home.localTime }}
- {{ $momentjs := resources.Get "/vendor/momentjs/moment.min.js" }}
- {{ $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" . }}
- {{ $bundleMoment := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "/js/bundleMoment.js" | fingerprint }}
+ {{ $momentjs := resources.Get "vendor/momentjs/moment.min.js" }}
+ {{ $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" . }}
+ {{ $bundleMoment := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "js/bundleMoment.js" | fingerprint }}
<script src="{{ $bundleMoment.Permalink }}" integrity="{{ $bundleMoment.Data.Integrity }}"></script>
{{ end }}
</body>