summaryrefslogtreecommitdiffstats
path: root/hugolib/config.go
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2013-07-26 18:06:13 -0400
committerspf13 <steve.francia@gmail.com>2013-07-26 18:06:13 -0400
commit7ab28c564f89b32fd1a3db78a34db14587f54cad (patch)
treef906ffd9377131fd774e5ea5f10e7421641b826a /hugolib/config.go
parent92c31bbe10a68bb29c62535f5a7a6b4bfc80a21d (diff)
Adding support for destination dir, split out static
Diffstat (limited to 'hugolib/config.go')
-rw-r--r--hugolib/config.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index 9c2cc6892..c612b1d8c 100644
--- a/hugolib/config.go
+++ b/hugolib/config.go
@@ -27,13 +27,13 @@ import (
// config file items
type Config struct {
- SourceDir, PublishDir, BaseUrl, StaticDir string
- Path, CacheDir, LayoutDir, DefaultLayout string
- ConfigFile string
- Title string
- Indexes map[string]string // singular, plural
- ProcessFilters map[string][]string
- BuildDrafts, UglyUrls, Verbose bool
+ ContentDir, PublishDir, BaseUrl, StaticDir string
+ Path, CacheDir, LayoutDir, DefaultLayout string
+ ConfigFile string
+ Title string
+ Indexes map[string]string // singular, plural
+ ProcessFilters map[string][]string
+ BuildDrafts, UglyUrls, Verbose bool
}
var c Config
@@ -51,7 +51,7 @@ func SetupConfig(cfgfile *string, path *string) *Config {
}
// set defaults
- c.SourceDir = "content"
+ c.ContentDir = "content"
c.LayoutDir = "layouts"
c.PublishDir = "public"
c.StaticDir = "static"