mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Fix bug with JSON front matter parsing.
This commit is contained in:
@@ -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