mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Support [params] in site config
This commit is contained in:
parent
53c715bdc2
commit
4c3422c93a
1
site.go
1
site.go
|
@ -14,6 +14,7 @@ type Site struct {
|
||||||
URLs []string `toml:"urls"`
|
URLs []string `toml:"urls"`
|
||||||
Tasks []*Task `toml:"tasks"`
|
Tasks []*Task `toml:"tasks"`
|
||||||
Feeds map[string]string `toml:"feeds"`
|
Feeds map[string]string `toml:"feeds"`
|
||||||
|
Params map[string]string `toml:"params"`
|
||||||
Permalinks map[string]string `toml:"permalinks"`
|
Permalinks map[string]string `toml:"permalinks"`
|
||||||
permalinks map[string]*template.Template
|
permalinks map[string]*template.Template
|
||||||
templates Templates
|
templates Templates
|
||||||
|
|
Loading…
Reference in a new issue