mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 13:39:30 -07:00
warp image elements with a div
This commit is contained in:
@@ -20,7 +20,9 @@
|
|||||||
</script>
|
</script>
|
||||||
{{ range $images }}
|
{{ range $images }}
|
||||||
{{ $index = sub $index 1}}
|
{{ $index = sub $index 1}}
|
||||||
<img class="image" data-index="{{ $index }}" data-status="inactive" src="{{ .RelPermalink }}" height="{{ .Height }}" width="{{ .Width }}"/>
|
<div class="image inactive" data-index="{{ $index }}">
|
||||||
|
<img src="{{ .RelPermalink }}" height="{{ .Height }}" width="{{ .Width }}"/>
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user