summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-05-29 17:51:46 +0800
committerReorx <novoreorx@gmail.com>2022-05-29 17:54:37 +0800
commit3398b4c6abfbffbbda23e256934eb805f88b3d75 (patch)
tree08d3bd940aab4e23f6c2849191160a0e69fc5c7f
parentb562454b3e27096748dd730f450a5d54b7a1d582 (diff)
support adding `no-zoom` class to img
-rw-r--r--layouts/partials/page_footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/page_footer.html b/layouts/partials/page_footer.html
index 2d0dd2a..24ce455 100644
--- a/layouts/partials/page_footer.html
+++ b/layouts/partials/page_footer.html
@@ -121,7 +121,7 @@
{{- if (.Param "EnableImageZoom") }}
<script>
mediumZoom('.entry-cover img');
- mediumZoom('.post-content img');
+ mediumZoom('.post-content img:not([no-zoom])');
</script>
{{- end }}