summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-05-05 01:50:01 +0800
committerReorx <novoreorx@gmail.com>2022-05-05 01:50:01 +0800
commitedc55654476f1e8d15996ad319f0402da1de67ef (patch)
treecaf1764d6be2adbe7b530e11aa8324a4390bbd97 /layouts
parentc948d475fdc1476474966f143e03c726b0227dbb (diff)
allow cover img zoom
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index ff47b97..7748d4e 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -234,6 +234,7 @@
{{- if site.Params.assets.disableFingerprinting }}integrity="{{ $imagezoom.Data.Integrity }}"{{- end }}
></script>
<script>
+ mediumZoom('.entry-cover img');
mediumZoom('.post-content img');
</script>
{{- end }}