diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-29 17:51:46 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-29 17:54:37 +0800 |
| commit | 3398b4c6abfbffbbda23e256934eb805f88b3d75 (patch) | |
| tree | 08d3bd940aab4e23f6c2849191160a0e69fc5c7f /layouts | |
| parent | b562454b3e27096748dd730f450a5d54b7a1d582 (diff) | |
support adding `no-zoom` class to img
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/page_footer.html | 2 |
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 }} |
