aboutsummaryrefslogtreecommitdiff
path: root/data.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-29 16:24:25 +0200
committerWilliam Hergès <william@herges.fr>2025-08-29 16:24:25 +0200
commite2cdf90a4e318a10c443711bf4254410873d2d1d (patch)
treeb62d3e2cd8395375a0671b074991aa13bbbc78b4 /data.go
parenta4e2949d76442f29ed1af4c8b0b0964ee8196d1e (diff)
feat(base): webring integration
Diffstat (limited to 'data.go')
-rw-r--r--data.go19
1 files changed, 13 insertions, 6 deletions
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 {