summaryrefslogtreecommitdiff
path: root/internal/lightgallery/block.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-08-12 23:21:56 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-08-12 23:21:56 +0700
commitc5c17c6faca1bd0e7b9522010e36e4fdf87aec6a (patch)
treeebf5b5212ee0f5fb61210d587f12baa2ab70351e /internal/lightgallery/block.go
parentcd8746883e558e8527355e1c2342e8053848e91c (diff)
downloadweb-0.5.5.tar.gz
web-0.5.5.zip
feat: make working timezone shift in galleriesv0.5.5
fix: overflown blog page content fix: raise footer a bit higher in desktop mode refactor: start blog catalogue with publication date desc sort
Diffstat (limited to 'internal/lightgallery/block.go')
-rw-r--r--internal/lightgallery/block.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/internal/lightgallery/block.go b/internal/lightgallery/block.go
index dade2ea..072aa3c 100644
--- a/internal/lightgallery/block.go
+++ b/internal/lightgallery/block.go
@@ -1,11 +1,16 @@
package lightgallery
-import "github.com/yuin/goldmark/ast"
+import (
+ "time"
+
+ "github.com/yuin/goldmark/ast"
+)
// LightGalleryBlock represents a light gallery block in the AST
type LightGalleryBlock struct {
ast.BaseBlock
- Images []LightGalleryImage
+ Images []LightGalleryImage
+ Location *time.Location
}
type LightGalleryImage struct {