From 52fbb4a4eb781dd4ba66fae0e1ceaec6721758f5 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sun, 29 Mar 2026 18:55:20 +0700 Subject: feat: add namespace parameter for gallery refactor: replace sprintf for galleryid with simple replaceall in gallery rendering --- internal/glightbox/block.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/glightbox/block.go') diff --git a/internal/glightbox/block.go b/internal/glightbox/block.go index e53e67b..30cda1c 100644 --- a/internal/glightbox/block.go +++ b/internal/glightbox/block.go @@ -9,8 +9,9 @@ import ( // GLightboxBlock represents a light gallery block in the AST type GLightboxBlock struct { ast.BaseBlock - Images []GLightboxImage - Location *time.Location + Images []GLightboxImage + Location *time.Location + Namespace string } type GLightboxImage struct { -- cgit v1.3.1+13