~adnano/kiln-devel

Update site params to a nested map v2 SUPERSEDED

IMG-PRCSNG: 1
 Update site params to a nested map

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~adnano/kiln-devel/patches/29997/mbox | git am -3
Learn more about email & git

[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