mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
Merge pull request #731 from MaikelChan/fix-multiple-galleries
Fixed having multiple galleries in the same page, only works the first one
This commit is contained in:
commit
2d0f9852d8
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ $time := now.UnixNano }}
|
{{ $time := now.UnixNano }}
|
||||||
{{ $id := delimit (slice "gallery" $time) "-" }}
|
{{ $id := delimit (slice "gallery" .Ordinal $time) "-" }}
|
||||||
|
|
||||||
<div id="{{ $id }}">
|
<div id="{{ $id }}">
|
||||||
{{ .Inner }}
|
{{ .Inner }}
|
||||||
|
|
Loading…
Reference in a new issue