From 36963a2839b33121de235c5e16743e508a52b9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 7 Sep 2025 15:32:45 +0200 Subject: feat(now): modify how links are handled --- data.go | 1 + 1 file changed, 1 insertion(+) (limited to 'data.go') diff --git a/data.go b/data.go index fccaec3..e250d78 100644 --- a/data.go +++ b/data.go @@ -55,6 +55,7 @@ type Tag struct { Name string `json:"name" toml:"name"` Description string `json:"description" toml:"description"` Link string `json:"link" toml:"link"` + LinkName string `json:"link_name" toml:"link_name"` } type Color struct { -- cgit v1.2.3 From fdf8c390e91ef02c05a95fa1f8c1c9104ffbabf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 7 Sep 2025 15:56:18 +0200 Subject: style(now): rename tags in now --- data.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data.go') diff --git a/data.go b/data.go index e250d78..174b104 100644 --- a/data.go +++ b/data.go @@ -48,10 +48,10 @@ type Person struct { Name string `json:"name" toml:"name"` Pronouns string `json:"pronouns" toml:"pronouns"` Image string `json:"image" toml:"image"` - Tags []*Tag `json:"tags" toml:"tags"` + Now []*Now `json:"now" toml:"now"` } -type Tag struct { +type Now struct { Name string `json:"name" toml:"name"` Description string `json:"description" toml:"description"` Link string `json:"link" toml:"link"` -- cgit v1.2.3