change default frontmatter.

This commit is contained in:
Henrique Dias 2016-06-29 10:41:17 +01:00
parent 3917414dcc
commit b984437b2b

View File

@ -35,7 +35,7 @@ func Parse(c *caddy.Controller) ([]Config, error) {
} }
for c.Next() { for c.Next() {
var cfg = Config{PathScope: ".", BaseURL: "", FrontMatter: "json", HugoEnabled: false} var cfg = Config{PathScope: ".", BaseURL: "", FrontMatter: "yaml", HugoEnabled: false}
for c.NextBlock() { for c.NextBlock() {
switch c.Val() { switch c.Val() {
case "show": case "show":