mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Removing site.Directories.
Please revert if this is used somewhere.
This commit is contained in:
parent
b14b61af37
commit
097b782a80
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue