aboutsummaryrefslogtreecommitdiff
path: root/backend/section.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-12-12 19:21:22 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-12-12 19:21:22 +0100
commita815c291074b454d4bb1a31067cd363c84df1360 (patch)
treeb04e3e048fdd15caff2c9127d7598b04b47178a7 /backend/section.go
parentd56090d43c925dbbd22a3e0c3f6d541674a09697 (diff)
refactor(frontend): remove JS files
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 e6e318a..ff2cf43 100644
--- a/backend/section.go
+++ b/backend/section.go
@@ -216,6 +216,7 @@ func (s *Section) parse(d *sectionData, mu *sync.Mutex, path, slug string) bool
panic(err)
}
var ok bool
+ d.data.URL = fmt.Sprintf("/%s/%s", s.URI, slug)
d.Content, ok = parse(b, &d.EntryInfo, d.data)
if !ok {
return false