From e9353a66bf51486f702eaa0f591dea54c9bd4cd1 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sun, 17 May 2026 17:13:32 +0700 Subject: refactor: rewrite localization for dynamic set and get feat: medley localnames feat: integrate package minor updates fix: on errors with blog client init write correct type --- internal/blog/index.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/blog/index.go') diff --git a/internal/blog/index.go b/internal/blog/index.go index 6c1a560..a09b59e 100644 --- a/internal/blog/index.go +++ b/internal/blog/index.go @@ -92,8 +92,9 @@ func (idx *Index) UnmarshalJSON(data []byte) error { } type MedleyEntry struct { - Codename string `json:"codename"` - Content []string `json:"content"` + Codename string `json:"codename"` + Localnames map[string]string `json:"localnames"` + Content []string `json:"content"` } type MedleyPageEntry struct { -- cgit v1.3.1+17