diff options
| author | William Hergès <william@herges.fr> | 2025-08-29 16:24:25 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-29 16:24:25 +0200 |
| commit | e2cdf90a4e318a10c443711bf4254410873d2d1d (patch) | |
| tree | b62d3e2cd8395375a0671b074991aa13bbbc78b4 /data.go | |
| parent | a4e2949d76442f29ed1af4c8b0b0964ee8196d1e (diff) | |
feat(base): webring integration
Diffstat (limited to 'data.go')
| -rw-r--r-- | data.go | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -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 { |
