diff options
author | Bjørn Erik Pedersen <[email protected]> | 2016-11-04 00:34:25 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-11-22 09:57:03 +0100 |
commit | 698b994f714174449fd1ea37c39058ea14f6deee (patch) | |
tree | dbfe65a407cd9d90a17e23dd9fb76c0e8fcd6346 /hugolib/gitinfo.go | |
parent | c175407fa40593f34e5b5b25c8f5c921bec2a636 (diff) | |
download | hugo-698b994f714174449fd1ea37c39058ea14f6deee.tar.gz hugo-698b994f714174449fd1ea37c39058ea14f6deee.zip |
node to page: Fix the page collections
Updates #2297
Diffstat (limited to 'hugolib/gitinfo.go')
-rw-r--r-- | hugolib/gitinfo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/gitinfo.go b/hugolib/gitinfo.go index e2c22281d..520b7e5d0 100644 --- a/hugolib/gitinfo.go +++ b/hugolib/gitinfo.go @@ -52,6 +52,7 @@ func (h *HugoSites) assembleGitInfo() { s := h.Sites[0] for _, p := range s.AllPages { + // TODO(bep) np consider other nodes // Git normalizes file paths on this form: filename := path.Join(contentRoot, contentDir, filepath.ToSlash(p.Path())) g, ok := gitMap[filename] |