mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-24 04:35:24 +00: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 file changed
+1
-1
@@ -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