fixed but with image zoom

This commit is contained in:
Nuno Coração
2022-09-12 13:36:52 +01:00
parent 11320067eb
commit a74044911e
10 changed files with 76 additions and 28 deletions
+7
View File
@@ -40,6 +40,13 @@
{{ end }}
</div>
<script>
mediumZoom(document.querySelectorAll("img:not(.nozoom)"), {
margin: 24,
background: 'rgba(0,0,0,0.5)',
scrollOffset: 0,
})
</script>
{{ $jsProcess := resources.Get "js/process.js" }}
{{ $jsProcess = $jsProcess | resources.Minify | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $jsProcess.RelPermalink }}" integrity="{{ $jsProcess.Data.Integrity }}"></script>