Fixed zoom library not being found if site is in a subfolder.

This commit is contained in:
MaikelChan 2023-05-07 06:49:40 +02:00
parent 92f26f9bdd
commit 0427f9f5af
No known key found for this signature in database
GPG key ID: B2CE398C279239EC

View file

@ -73,7 +73,7 @@
integrity="{{ $bundleJS.Data.Integrity }}" data-copy="{{ i18n " code.copy" }}" data-copied="{{ i18n " code.copied" integrity="{{ $bundleJS.Data.Integrity }}" data-copy="{{ i18n " code.copy" }}" data-copied="{{ i18n " code.copied"
}}"></script> }}"></script>
{{ end }} {{ end }}
<script src="/js/zoom.min.js"></script> <script src="{{ "js/zoom.min.js" | relURL }}"></script>
{{/* Icons */}} {{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }} {{ if templates.Exists "partials/favicons.html" }}
{{ partialCached "favicons.html" .Site }} {{ partialCached "favicons.html" .Site }}