diff options
| author | William Hergès <william@herges.fr> | 2025-10-27 18:36:12 +0100 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-27 18:36:12 +0100 |
| commit | 330b0b73daecbf36f7efbad4754180d6035b284c (patch) | |
| tree | d14ae9218a2df8639c32fc1b488030ca57981a7d /backend/section.go | |
| parent | db0b5c34432b4c0135af8c5c885fd6ad348c3691 (diff) | |
feat(section): adapt entry title with section name
Diffstat (limited to 'backend/section.go')
| -rw-r--r-- | backend/section.go | 1 |
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) } |
