Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortycho garen <garen@tychoish.com>2013-07-07 03:36:30 +0400
committertycho garen <garen@tychoish.com>2013-07-07 06:32:50 +0400
commita7f5f97bc2c8941cbe9ade740e3c0e54202d8613 (patch)
tree96f3933a3bc7788852807b4a1c085094f2c2b45a /main.go
parentf875577197c307116f11c33be0d3f1f95594a500 (diff)
sanity: move from json to yaml
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index d7386c6c1..1de48f766 100644
--- a/main.go
+++ b/main.go
@@ -17,7 +17,7 @@ import (
"flag"
"fmt"
"github.com/howeyc/fsnotify"
- "github.com/spf13/hugo/hugolib"
+ "./hugolib"
"net/http"
"os"
"path/filepath"
@@ -26,12 +26,12 @@ import (
)
const (
- cfgFiledefault = "config.json"
+ cfgFiledefault = "config.yaml"
)
var (
baseUrl = flag.String("b", "", "hostname (and path) to the root eg. http://spf13.com/")
- cfgfile = flag.String("c", cfgFiledefault, "config file (default is path/config.json)")
+ cfgfile = flag.String("c", cfgFiledefault, "config file (default is path/config.yaml)")
checkMode = flag.Bool("k", false, "analyze content and provide feedback")
draft = flag.Bool("d", false, "include content marked as draft")
help = flag.Bool("h", false, "show this help")