Documentation ¶ Index ¶ func New(nodes ...node.Node) *element type Element Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(nodes ...node.Node) *element New Creates a new head element with the given child nodes (metadata content). Example: head.New(title.New(text.Text("My Page")), meta.Charset("UTF-8")) Renders: <head><title>My Page</title><meta charset="UTF-8" /></head> Types ¶ type Element ¶ type Element = element Element is an exported alias for the private element type Source Files ¶ View all Source files head.go Click to show internal directories. Click to hide internal directories.