~adnano/kiln-devel

Update site params to a nested map v3 APPLIED

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

 1 files changed, 6 insertions(+), 6 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/29998/mbox | git am -3
Learn more about email & git

[PATCH v3] Update site params to a nested map Export this patch

---
 site.go | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/site.go b/site.go
index c5d5d1d..bbb31dd 100644
--- a/site.go
+++ b/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
}
-- 
2.25.1
Thanks!

To git@git.sr.ht:~adnano/kiln
   de04e0e..3e1683e  master -> master