From: Steve Francia Date: Wed, 14 Aug 2013 03:03:18 +0000 (-0700) Subject: Merge pull request #38 from noahcampbell/workflow_dotfile X-Git-Tag: v0.9~161^2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7a51a8a5;p=brevno-suite%2Fhugo Merge pull request #38 from noahcampbell/workflow_dotfile Workflow dotfile --- 7a51a8a5a32881c01dcd472d818b4d774a487935 diff --cc hugolib/site.go index 770a14fc,a16fec3f..ef23632e --- a/hugolib/site.go +++ b/hugolib/site.go @@@ -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) }