Support [params] in site config

This commit is contained in:
adnano 2021-06-26 02:09:55 -04:00
parent 53c715bdc2
commit 4c3422c93a

View file

@ -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