mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix bug with JSON front matter parsing.
This commit is contained in:
parent
a6914e9c4c
commit
e76c3feb52
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue