mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Merge pull request #1071 from ItsJustRuby/feature/skip_request_for_zoom.js_if_disabled
Only send web request for zoom library if it is not disabled.
This commit is contained in:
@@ -73,7 +73,9 @@
|
|||||||
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 }}
|
||||||
|
{{ if not .Site.Params.disableImageZoom | default true }}
|
||||||
<script src="{{ "js/zoom.min.js" | relURL }}"></script>
|
<script src="{{ "js/zoom.min.js" | relURL }}"></script>
|
||||||
|
{{ end }}
|
||||||
{{/* Icons */}}
|
{{/* Icons */}}
|
||||||
{{ if templates.Exists "partials/favicons.html" }}
|
{{ if templates.Exists "partials/favicons.html" }}
|
||||||
{{ partialCached "favicons.html" .Site }}
|
{{ partialCached "favicons.html" .Site }}
|
||||||
|
|||||||
Reference in New Issue
Block a user