From a1be42825b792268c3ccd734e405432cd855af88 Mon Sep 17 00:00:00 2001
From: Henrique Dias <hacdias@gmail.com>
Date: Wed, 4 Jan 2017 18:19:16 +0000
Subject: [PATCH] update

Former-commit-id: 5d5c77897e04cbfcb5cf6652dc2d51ed3f192b8c
---
 frontmatter/frontmatter.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontmatter/frontmatter.go b/frontmatter/frontmatter.go
index 65839abb..1638c39b 100644
--- a/frontmatter/frontmatter.go
+++ b/frontmatter/frontmatter.go
@@ -36,7 +36,7 @@ func Pretty(content []byte) (*Content, string, error) {
 
 	kind := reflect.ValueOf(data).Kind()
 
-	if kind.String() == "invalid" {
+	if kind == reflect.Invalid {
 		return &Content{}, "", nil
 	}