mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-02 15:20:28 +00:00
Adding Params to node for easy template access of page.params without throwing errors.
This commit is contained in:
parent
c8269d6dbc
commit
bd022534bc
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue