aboutsummaryrefslogtreecommitdiff
path: root/backend/section.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-27 15:53:45 +0100
committerWilliam Hergès <william@herges.fr>2025-10-27 15:53:45 +0100
commit1f0cf029644861bc31a363ecfdbfcb6ebafff3b2 (patch)
tree5c2f1c62d2ff68c578547e70603d7ed7a4519861 /backend/section.go
parent9c2d960a3b7728b7857ad71ed656be4a02d58599 (diff)
fix(section): bad description in og
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 931b7ca..01ffc90 100644
--- a/backend/section.go
+++ b/backend/section.go
@@ -163,6 +163,7 @@ func (s *Section) handleList(w http.ResponseWriter, r *http.Request) {
sec.CurrentPage = p.Current
sec.PagesNumber = p.Max
d.Sections = append(d.Sections, &sec)
+ d.PageDescription = sec.Description
d.handleGeneric(w, r, "home_section", d)
}