mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 10:15:49 +00:00
Fix bug with JSON front matter parsing.
This commit is contained in:
1 parent
a6914e9c4c
commit
e76c3feb52
1 file changed
+1
-1
+1
-1
@@ -205,7 +205,7 @@ func splitPageContent(data []byte, start string, end string) ([]string, []string
|
||||
}
|
||||
|
||||
if found == 0 {
|
||||
datum = lines[1 : i+1]
|
||||
datum = lines[0 : i+1]
|
||||
lines = lines[i+1:]
|
||||
break
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user