mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Reads data files inside data/ and makes data available in .Site.Data
Fixes #476. Conflicts: hugolib/site.go
This commit is contained in:
committed by
bep
parent
4c7e119ca1
commit
773812de6f
@@ -130,6 +130,7 @@ func NewSite(cmd *cobra.Command, args []string) {
|
||||
mkdir(createpath, "content")
|
||||
mkdir(createpath, "archetypes")
|
||||
mkdir(createpath, "static")
|
||||
mkdir(createpath, "data")
|
||||
|
||||
createConfig(createpath, configFormat)
|
||||
}
|
||||
|
Reference in New Issue
Block a user