diff options
Diffstat (limited to 'site.go')
-rw-r--r-- | site.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -10,7 +10,6 @@ type siteData struct { name string rawName string baseUrl string - outputPath string sourcePath string pages map[string]page nav []navItem @@ -27,8 +26,7 @@ func getSites(cfg config) (sites []siteData) { newSite := siteData{ name: nameify(f.Name()), rawName: f.Name(), - baseUrl: filepath.Join(cfg.BaseUrl, f.Name()), - outputPath: filepath.Join(cfg.TargetDir, f.Name()), + baseUrl: cfg.BaseUrl + "/" + f.Name(), sourcePath: filepath.Join(cfg.DocsRoot, f.Name())} sites = append(sites, newSite) } |