mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 09:23:09 +00:00
Update site params to a nested map
This commit is contained in:
parent
de04e0e828
commit
3e1683ecfc
2
site.go
2
site.go
|
@ -15,7 +15,7 @@ import (
|
||||||
type Site struct {
|
type Site struct {
|
||||||
Title string `toml:"title"`
|
Title string `toml:"title"`
|
||||||
Tasks []*Task `toml:"tasks"`
|
Tasks []*Task `toml:"tasks"`
|
||||||
Params map[string]string `toml:"params"`
|
Params map[string]interface{} `toml:"params"`
|
||||||
Permalinks map[string]string `toml:"permalinks"`
|
Permalinks map[string]string `toml:"permalinks"`
|
||||||
Generated time.Time `toml:"-"`
|
Generated time.Time `toml:"-"`
|
||||||
Root *Page `toml:"-"`
|
Root *Page `toml:"-"`
|
||||||
|
|
Loading…
Reference in a new issue