aboutsummaryrefslogtreecommitdiff
path: root/backend/section.go
diff options
context:
space:
mode:
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