mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Removing site.Directories.
Please revert if this is used somewhere.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user