Merge pull request #38 from noahcampbell/workflow_dotfile
authorSteve Francia <steve.francia@gmail.com>
Wed, 14 Aug 2013 03:03:18 +0000 (20:03 -0700)
committerSteve Francia <steve.francia@gmail.com>
Wed, 14 Aug 2013 03:03:18 +0000 (20:03 -0700)
Workflow dotfile

1  2 
hugolib/site.go

diff --cc hugolib/site.go
index 770a14fc1ce32fa9f2afe0757278a480362efc60,a16fec3fc2125f7b86e51524f8c0290b26ed3aa6..ef23632e191ccadca50c2d2af214128f01839172
@@@ -204,14 -209,9 +209,14 @@@ func (s *Site) initialize() 
                }
        }
  
-       filepath.Walk(s.Config.GetAbsPath(s.Config.ContentDir), walker)
+       filepath.Walk(s.absContentDir(), walker)
  
 -      s.Info = SiteInfo{BaseUrl: template.URL(s.Config.BaseUrl), Title: s.Config.Title, Config: &s.Config}
 +      s.Info = SiteInfo{
 +              BaseUrl: template.URL(s.Config.BaseUrl),
 +              Title:   s.Config.Title,
 +              Recent:  &s.Pages,
 +              Config:  &s.Config,
 +      }
  
        s.Shortcodes = make(map[string]ShortcodeFunc)
  }