From c8269d6dbcaf1d47f6c8b88204d238adb82187e6 Mon Sep 17 00:00:00 2001 From: spf13 Date: Tue, 8 Apr 2014 21:40:03 -0400 Subject: [PATCH] Making node.Keywords the correct length --- hugolib/page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/page.go b/hugolib/page.go index b349be40d..0c66c2154 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -144,7 +144,7 @@ func renderBytes(content []byte, pagefmt string) []byte { func newPage(filename string) *Page { page := Page{contentType: "", File: File{FileName: filename, Extension: "html"}, - Node: Node{Keywords: make([]string, 10, 30)}, + Node: Node{Keywords: []string{}}, Params: make(map[string]interface{})} jww.DEBUG.Println("Reading from", page.File.FileName)