commit e76c3feb52381efaf8add59857d6940aaec7c0a8
parent a6914e9c4cc96f2f03b0cb25e005b956f17ca39d
Author: spf13 <steve.francia@gmail.com>
Date: Tue, 9 Jul 2013 19:04:22 -0400
Fix bug with JSON front matter parsing.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/page.go b/hugolib/page.go
@@ -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
}