From e2cdf90a4e318a10c443711bf4254410873d2d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Fri, 29 Aug 2025 16:24:25 +0200 Subject: feat(base): webring integration --- data.go | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'data.go') diff --git a/data.go b/data.go index 103207b..7782b7b 100644 --- a/data.go +++ b/data.go @@ -24,15 +24,22 @@ type ConfigData interface { } type Config struct { - Image string `json:"image" toml:"image"` - Description string `json:"description" toml:"description"` - Person *Person `json:"person" toml:"person"` - Color *Color `json:"colors" toml:"colors"` - Links []*Link `json:"links" toml:"links"` + Image string `json:"image" toml:"image"` + Description string `json:"description" toml:"description"` + folder string Legal string `json:"legal" toml:"legal"` RelMeLinks []string `json:"rel_me_links" toml:"rel_me_links"` CustomPages []string `json:"custom_pages" toml:"custom_pages"` - folder string + Person *Person `json:"person" toml:"person"` + Color *Color `json:"colors" toml:"colors"` + Links []*Link `json:"links" toml:"links"` + Rings []*Ring `json:"rings" toml:"rings"` +} + +type Ring struct { + Image string `json:"image" toml:"image"` + Name string `json:"name" toml:"name"` + Link string `json:"link" toml:"link"` } type Person struct { -- cgit v1.2.3