fix settings error
This commit is contained in:
1 parent
e045d76bcd
commit
7a5e184610
2 files changed
+16
-5
No files matched your search
@@ -30,6 +30,8 @@ func rawToPretty(config interface{}, master string, parent string) interface{} {
|
||||
if utils.IsSlice(config) {
|
||||
settings := make([]interface{}, len(config.([]interface{})))
|
||||
|
||||
// TODO: improve this function
|
||||
|
||||
for index, element := range config.([]interface{}) {
|
||||
c := new(frontmatter)
|
||||
c.Name = master
|
||||
|
||||
Reference in new issue
Block a user