support adding `no-zoom` class to img
This commit is contained in:
parent
b562454b3e
commit
3398b4c6ab
|
@ -121,7 +121,7 @@
|
||||||
{{- if (.Param "EnableImageZoom") }}
|
{{- if (.Param "EnableImageZoom") }}
|
||||||
<script>
|
<script>
|
||||||
mediumZoom('.entry-cover img');
|
mediumZoom('.entry-cover img');
|
||||||
mediumZoom('.post-content img');
|
mediumZoom('.post-content img:not([no-zoom])');
|
||||||
</script>
|
</script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue