support adding `no-zoom` class to img
This commit is contained in:
parent
b562454b3e
commit
3398b4c6ab
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue