mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 21:12:09 -05:00
Making node.Keywords the correct length
This commit is contained in:
parent
4161d542ce
commit
c8269d6dbc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue