shithub: hugo

Download patch

ref: bd022534bc801fcf394b955346ee4ce94e3dbc39
parent: c8269d6dbcaf1d47f6c8b88204d238adb82187e6
author: spf13 <[email protected]>
date: Tue Apr 8 17:40:38 EDT 2014

Adding Params to node for easy template access of page.params without throwing errors.

--- a/hugolib/node.go
+++ b/hugolib/node.go
@@ -26,6 +26,7 @@
 	Title       string
 	Description string
 	Keywords    []string
+	Params      map[string]interface{}
 	Date        time.Time
 	UrlPath
 }