Merge pull request #708 from MaikelChan/zoom-fix

🔧 Fixed zoom.min.js library not being found if site is in a subfolder.
This commit is contained in:
Nuno Coração 2023-05-08 21:21:26 +01:00 committed by GitHub
commit 1ae18a8c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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