Removing site.Directories.
authorNoah Campbell <noahcampbell@gmail.com>
Sat, 31 Aug 2013 04:13:50 +0000 (21:13 -0700)
committerNoah Campbell <noahcampbell@gmail.com>
Sat, 31 Aug 2013 04:13:50 +0000 (21:13 -0700)
Please revert if this is used somewhere.

hugolib/site.go

index d9128e9cff54abe29e7752d499182ef2b3713412..12ddafd03f2c550f3385fd1808df3e3da319e89b 100644 (file)
@@ -36,7 +36,6 @@ type Site struct {
        Tmpl        *template.Template
        Indexes     IndexList
        Files       []string
-       Directories []string
        Sections    Index
        Info        SiteInfo
        Shortcodes  map[string]ShortcodeFunc
@@ -213,7 +212,6 @@ func (s *Site) initialize() {
                        if path == staticDir {
                                return filepath.SkipDir
                        }
-                       site.Directories = append(site.Directories, path)
                        return nil
                } else {
                        if ignoreDotFile(path) {