[PATCH v2] Update site params to a nested map
Export this patch
---
site.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site.go b/site.go
index c5d5d1d..e219632 100644
--- a/site.go
+++ b/site.go
@@ -15,7 +15,7 @@ import (
type Site struct {
Title string `toml:"title"`
Tasks []*Task `toml:"tasks"`
- Params map[string]string `toml:"params"`
+ Params map[string]interface{} `toml:"params"`
Permalinks map[string]string `toml:"permalinks"`
Generated time.Time `toml:"-"`
Root *Page `toml:"-"`
--
2.25.1