mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Adding Params to node for easy template access of page.params without throwing errors.
This commit is contained in:
@@ -26,6 +26,7 @@ type Node struct {
|
|||||||
Title string
|
Title string
|
||||||
Description string
|
Description string
|
||||||
Keywords []string
|
Keywords []string
|
||||||
|
Params map[string]interface{}
|
||||||
Date time.Time
|
Date time.Time
|
||||||
UrlPath
|
UrlPath
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user