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

github.com/lgaida/mediumish-gohugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/_shared/js.html')
-rw-r--r--layouts/partials/_shared/js.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/_shared/js.html b/layouts/partials/_shared/js.html
index b4dc208..ecaec11 100644
--- a/layouts/partials/_shared/js.html
+++ b/layouts/partials/_shared/js.html
@@ -3,9 +3,10 @@
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
-
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
-<script src="{{"/js/mediumish.js" | urlize | relURL }}"></script>
+{{ $mediumish := resources.Get "/js/mediumish.js" | resources.Fingerprint }}
+<script src="{{ $mediumish.RelPermalink | absURL }}" integrity="{{ $mediumish.Data.Integrity }}"></script> \ No newline at end of file