mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
commit
616ebd1cf5
1 changed files with 2 additions and 3 deletions
|
@ -1,12 +1,11 @@
|
|||
{{ $time := now.UnixNano }}
|
||||
{{ $id := delimit (slice "gallery" .Ordinal $time) "-" }}
|
||||
{{ $id := delimit (slice "gallery" .Ordinal) "-" }}
|
||||
|
||||
<div id="{{ $id }}">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(window).on("load", function () {
|
||||
$('#{{ $id }}').packery({
|
||||
percentPosition: true,
|
||||
gutter: 5,
|
||||
|
|
Loading…
Reference in a new issue