From d18485f51156350c02b9b789fe44e14953b51f9b Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 13 Nov 2025 15:31:41 +0100 Subject: feat(template): remove 'voir plus' if no more items --- backend/section.go | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/section.go') diff --git a/backend/section.go b/backend/section.go index 1333f87..e6e318a 100644 --- a/backend/section.go +++ b/backend/section.go @@ -29,6 +29,7 @@ type Section struct { Description string `toml:"description"` URI string `toml:"uri"` Data []*sectionData `toml:"-"` + LenMax int `toml:"-"` Paginate bool `toml:"-"` PagesNumber int `toml:"-"` CurrentPage int `toml:"-"` -- cgit v1.2.3