mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-12-11 17:20:10 +00:00
Update site params to a nested map
This commit is contained in:
parent
f7c98c1514
commit
f6461cab35
12
site.go
12
site.go
|
@ -13,12 +13,12 @@ import (
|
|||
|
||||
// Site represents a site.
|
||||
type Site struct {
|
||||
Title string `toml:"title"`
|
||||
Tasks []*Task `toml:"tasks"`
|
||||
Params map[string]string `toml:"params"`
|
||||
Permalinks map[string]string `toml:"permalinks"`
|
||||
Generated time.Time `toml:"-"`
|
||||
Root *Page `toml:"-"`
|
||||
Title string `toml:"title"`
|
||||
Tasks []*Task `toml:"tasks"`
|
||||
Params map[string]interface{} `toml:"params"`
|
||||
Permalinks map[string]string `toml:"permalinks"`
|
||||
Generated time.Time `toml:"-"`
|
||||
Root *Page `toml:"-"`
|
||||
permalinks map[string]*template.Template
|
||||
templates Templates
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue