aboutsummaryrefslogtreecommitdiff
path: root/backend/section.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-27 18:36:12 +0100
committerWilliam Hergès <william@herges.fr>2025-10-27 18:36:12 +0100
commit330b0b73daecbf36f7efbad4754180d6035b284c (patch)
treed14ae9218a2df8639c32fc1b488030ca57981a7d /backend/section.go
parentdb0b5c34432b4c0135af8c5c885fd6ad348c3691 (diff)
feat(section): adapt entry title with section name
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 a22d286..4011e5b 100644
--- a/backend/section.go
+++ b/backend/section.go
@@ -193,6 +193,7 @@ func (s *Section) handleOne(w http.ResponseWriter, r *http.Request) {
return
}
}
+ d.section = s.Name[:len(s.Name)-1]
d.handleGeneric(w, r, "data", d)
}