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
|
Tmpl *template.Template
|
||||||
Indexes IndexList
|
Indexes IndexList
|
||||||
Files []string
|
Files []string
|
||||||
Directories []string
|
|
||||||
Sections Index
|
Sections Index
|
||||||
Info SiteInfo
|
Info SiteInfo
|
||||||
Shortcodes map[string]ShortcodeFunc
|
Shortcodes map[string]ShortcodeFunc
|
||||||
|
@ -213,7 +212,6 @@ func (s *Site) initialize() {
|
||||||
if path == staticDir {
|
if path == staticDir {
|
||||||
return filepath.SkipDir
|
return filepath.SkipDir
|
||||||
}
|
}
|
||||||
site.Directories = append(site.Directories, path)
|
|
||||||
return nil
|
return nil
|
||||||
} else {
|
} else {
|
||||||
if ignoreDotFile(path) {
|
if ignoreDotFile(path) {
|
||||||
|
|
Loading…
Reference in a new issue