projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14b61a
)
Removing site.Directories.
author
Noah Campbell
<noahcampbell@gmail.com>
Sat, 31 Aug 2013 04:13:50 +0000
(21:13 -0700)
committer
Noah 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
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index d9128e9cff54abe29e7752d499182ef2b3713412..12ddafd03f2c550f3385fd1808df3e3da319e89b 100644
(file)
--- a/
hugolib/site.go
+++ b/
hugolib/site.go
@@
-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) {