gruh
This commit is contained in:
parent
7a4c5c2d22
commit
2b82345290
663 changed files with 38142 additions and 0 deletions
15
themes/bl/layouts/shortcodes/gallery.html
Normal file
15
themes/bl/layouts/shortcodes/gallery.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ $id := delimit (slice "gallery" .Ordinal now.UnixNano) "-" }}
|
||||
|
||||
<div id="{{ $id }}">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(window).on("load", function () {
|
||||
$('#{{ $id }}').packery({
|
||||
percentPosition: true,
|
||||
gutter: 5,
|
||||
resize: true
|
||||
});
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue