diff options
Diffstat (limited to 'pages/pages.go')
| -rw-r--r-- | pages/pages.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pages/pages.go b/pages/pages.go index 7eaf903..8d789b3 100644 --- a/pages/pages.go +++ b/pages/pages.go @@ -115,13 +115,8 @@ func Collect(contentPath string) ([]Page, error) { return nil, fmt.Errorf("failed to build site: %v", err) } - path := content.Path - if path == "index" { - path = "" - } - pages = append(pages, Page{ - Path: path, + Path: content.Path, Content: page, }) } |
