mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-26 10:45:29 +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
1 changed files with 1 additions and 0 deletions
|
@ -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