Normalize paths within hugo
authorNoah Campbell <noahcampbell@gmail.com>
Thu, 12 Sep 2013 17:48:59 +0000 (10:48 -0700)
committerNoah Campbell <noahcampbell@gmail.com>
Thu, 12 Sep 2013 17:48:59 +0000 (10:48 -0700)
commit74b55fc7c87f2887c42ce8626cb461fee5d7b907
treefd071f824ac14cff6ddaf9c9582a65843a6ab316
parent998b2f73f8da8886be87c29e23623d24445cbe93
Normalize paths within hugo

filepath was used inconsistently throughout the hugolib.  With the
introduction of source and target modules, all path are normalized to
"/".  This simplifies the processing of paths.  It does mean that
contributors need to be aware of using path/filepath in any module other
than source or target is not recommended.  The current exception is
hugolib/config.go
hugolib/config.go
hugolib/page.go
hugolib/page_test.go
hugolib/path_seperators_test.go
hugolib/site.go
hugolib/site_url_test.go
source/filesystem.go
target/file_test.go