diff --git a/main.go b/main.go index 6373568..a2a57c5 100644 --- a/main.go +++ b/main.go @@ -71,7 +71,7 @@ func (site *Site) run() error { func (s *Site) runTask(task *Task) error { // Read content - s.root = &Page{Path: "/", FilePath: ""} + s.root = &Page{Path: "/", FilePath: "", URL: task.URL + "/"} if err := s.root.read("content", task, s); err != nil { return err }