aboutsummaryrefslogtreecommitdiff
path: root/backend/section.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-11-13 15:31:41 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-11-13 15:31:41 +0100
commitd18485f51156350c02b9b789fe44e14953b51f9b (patch)
treecc0074a86a547801bec61530a1ac0d114d8b99dd /backend/section.go
parenta221da8d306d805a60dde6c231d49ac8019fa8dc (diff)
feat(template): remove 'voir plus' if no more items
Diffstat (limited to 'backend/section.go')
-rw-r--r--backend/section.go1
1 files changed, 1 insertions, 0 deletions
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:"-"`