mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01: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:
@@ -1,5 +1,5 @@
|
||||
{{ $time := now.UnixNano }}
|
||||
{{ $id := delimit (slice "gallery" $time) "-" }}
|
||||
{{ $id := delimit (slice "gallery" .Ordinal $time) "-" }}
|
||||
|
||||
<div id="{{ $id }}">
|
||||
{{ .Inner }}
|
||||
|
||||
Reference in New Issue
Block a user