diff --git a/hugolib/metadata.go b/hugolib/metadata.go
index <HASH>..<HASH> 100644
--- a/hugolib/metadata.go
+++ b/hugolib/metadata.go
@@ -71,6 +71,11 @@ func interfaceToBool(i interface{}) bool {
 	switch b := i.(type) {
 	case bool:
 		return b
+	case int:
+		if i.(int) > 0 {
+			return true
+		}
+		return false
 	default:
 		errorf("Only Boolean values are supported for this YAML key")
 	}
Allow 1/0 for true/false in Yaml front-matter