commit bd022534bc801fcf394b955346ee4ce94e3dbc39
parent c8269d6dbcaf1d47f6c8b88204d238adb82187e6
Author: spf13 <steve.francia@gmail.com>
Date: Tue, 8 Apr 2014 21:40:38 -0400
Adding Params to node for easy template access of page.params without throwing errors.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hugolib/node.go b/hugolib/node.go
@@ -26,6 +26,7 @@ type Node struct {
Title string
Description string
Keywords []string
+ Params map[string]interface{}
Date time.Time
UrlPath
}