mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06: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:
commit
baa33ffeff
1 changed files with 2 additions and 0 deletions
|
@ -73,7 +73,9 @@
|
|||
integrity="{{ $bundleJS.Data.Integrity }}" data-copy="{{ i18n " code.copy" }}" data-copied="{{ i18n " code.copied"
|
||||
}}"></script>
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.disableImageZoom | default true }}
|
||||
<script src="{{ "js/zoom.min.js" | relURL }}"></script>
|
||||
{{ end }}
|
||||
{{/* Icons */}}
|
||||
{{ if templates.Exists "partials/favicons.html" }}
|
||||
{{ partialCached "favicons.html" .Site }}
|
||||
|
|
Loading…
Reference in a new issue