gssg use forward slashes even on platforms with `\` sep
1 files changed, 2 insertions(+), 1 deletions(-) M page.go
M page.go => page.go +2 -1
@@ 49,7 49,8 @@ func parsePage(filename string) *Page { p.Content = string(b) p.rawDirectory, p.rawFilename = filepath.Split(filename) p.Filename = p.rawFilename p.URLPath, _ = filepath.Rel(config.SourceDir, filename) localPath, _ := filepath.Rel(config.SourceDir, filename) p.URLPath = filepath.ToSlash(localPath) p.Permalink = fetchPermalink(p.URLPath) p.Title = fetchTitle(b) p.Date = fetchDate(filename, b)