This commit is contained in:
Henrique Dias committed 2016-06-29 10:16:10 +01:00
1 parent e359792e69
commit b86c7fc7ed
2 files changed
+22 -16

No files matched your search

+2 -1
View File
@@ -15,6 +15,7 @@ type Config struct {
Root http.FileSystem
BaseURL string
StyleSheet string // Costum stylesheet
FrontMatter string // Default frontmatter to save files in
HugoEnabled bool // Enables the Hugo plugin for File Manager
}
@@ -34,7 +35,7 @@ func Parse(c *caddy.Controller) ([]Config, error) {
}
for c.Next() {
var cfg = Config{PathScope: ".", BaseURL: "", HugoEnabled: false}
var cfg = Config{PathScope: ".", BaseURL: "", FrontMatter: "json", HugoEnabled: false}
for c.NextBlock() {
switch c.Val() {
case "show":